InfinityExpandableTableTree icon indicating copy to clipboard operation
InfinityExpandableTableTree copied to clipboard

Always use 0 section. Error when sections more than 1

Open ZhurbiloYaroslav opened this issue 8 years ago • 1 comments

Hello Dear Kiran!

Thanks for your awesome library!

I have found that you always use 0 section. In my project there is 3 sections and was a bug.

I have found that in lines: line: 442

  • was: let indexpath: IndexPath = IndexPath(row: row, section: 0)
  • now: let indexpath: IndexPath = IndexPath(row: row, section: indexPath.section)

and line 454:

  • was: let indexpath: IndexPath = IndexPath(row: updateStateOfRow, section: 0)
  • now: let indexpath: IndexPath = IndexPath(row: updateStateOfRow, section: indexPath.section)

Would you be so kind and fix this bug

Thanks in advance!

ZhurbiloYaroslav avatar Dec 25 '17 14:12 ZhurbiloYaroslav

@YaroslavZhurbilo how do you make tree with multiple sections?

RajChanchal avatar Aug 24 '18 15:08 RajChanchal