views:

67

answers:

2

I've had problems using check boxes in data grids that are populated using dynamic data. The check boxes do not stayed checked as you scroll. How can i solve it ?

+2  A: 

You have to persist the state of the checkbox using your item renderer and preferably your data model. You can find an example of how you could achieve this blog post.

Mircea Grelus
Right. They key is that the datagrid reuses its item renderers, so you need to do a little extra work to manage their state.
Mike Sickler
A: 

There was a problem keeping cell state when scrolling using the Advanced Data Grid in version 3.0 that seems to have been fixed in 3.3. Try upgrading to 3.3. I think you'll also need to separately install the module that does graphs and charts; the new Advanced Data Grid is now found in that package.

le dorfier