pavankataria / SwiftDataTables

A Swift Data Table package, display grid-like data sets in a nicely formatted table for iOS. Subclassing UICollectionView that allows ordering, and searching with extensible options.
MIT License
448 stars 69 forks source link

Reload with scroll position #73

Open ajayPris opened 7 months ago

ajayPris commented 7 months ago

In our application, we have the ability to reload additional data while scrolling down the DataTable. Additionally, when we reload following a data retrieve, the reload() method resets the scroll position back to the top. At the moment, our content offset is set after the reload method, which makes it appear strange because the scroll position is set to the top and then after it will set our content offset.

Please add a toggle there so that we may choose not to reset the scroll or not