danielctull/DTGridView

reloadData Issue

Opened this issue · 1 comments

is there some limits to this grid that aren't documented?

I am trying to use this grid in a dynamic situation on a view controller, meaning the grid's data will change depending on actions taken on other parts of the screen. I also added landscape support as well and I am finding issues with the grid. When I need to refresh the data, I call [gridView reloadData], I assume this is what is needed to redraw and pickup the new values for number of rows/columns.

I am seeing weird things going on with Rows now not being rendered is some parts of the grid?

An easy way to see this test is to add the [gridView reloadData] to the selectionMadeAtRow event in the DTGridViewExampleDataSourceAndDelegate class.

This will break the grid to not show some rows, especially if you currently scrolled down far in a grid.

When dealing with screen rotation and/or updating the datasource, is there other steps I need to take to ensure the missing rows doesn't occur???

Same here. Fixed with this pull: #10