nlampi / SwiftGridView

Swift based data grid view.
MIT License
58 stars 15 forks source link

Remove Section Header/Footer #50

Closed hongvuxuan closed 5 years ago

hongvuxuan commented 5 years ago

Hi @nlampi Is there any ways to remove Section Header/Footer? At this time, I hide these by change height to 0. Please advise.

nlampi commented 5 years ago

Hi @hongvuxuan, if you don't need section header/footer at all, just don't implement the height method. If you need to disable for a specific section, then you are correct to return a height 0. This will prevent the grid from loading the view.

hongvuxuan commented 5 years ago

Got it, thanks @nlampi