jadhavp / JExpandableTableView

JExpandableTableView provides out of box support for expandable table cells
MIT License
54 stars 12 forks source link

Crash after call jtableView.openHeader #4

Open maizer99 opened 7 years ago

maizer99 commented 7 years ago

Hi all, After reload data i call openHeader function it will crash on

public func openHeader(section : Int){ let headerView:JExpandableTableViewHV = self.tableview.headerView(forSection: section) as! JExpandableTableViewHV headerView.sectionInfo.isOpen = true openHeader(headerView: headerView, section: section) }

it give fatal error: unexpectedly found nil while unwrapping an Optional value

tripathishivam35 commented 6 years ago

@maizer99 Did your problem is solved. i am facing similar issue.