Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

reloadData Issue #9

Open
mbrucedogs opened this Issue Feb 21, 2011 · 1 comment

Comments

Projects
None yet
2 participants

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment