PDA

View Full Version : Grid's reconfigure event and the addCheckbox function call



gilsonm
12 Feb 2012, 8:40 AM
Hi,
I have a grid (with checkboxes) that receives a new store dynamically.

Everytime this grid receives a new store I do something like this:



grid.reconfigure(newStore);


The problem is that everytime the "reconfigure" function is called, it is adding a new checkbox column (it is calling the "addCheckbox" function under the hood).

Why the grid component has a "reconfigure" event that calls the "addCheckbox" function?
What is the standard way to solve this issue and not duplicate the checkbox columns?

Thanks in advance.

mitchellsimoens
12 Feb 2012, 8:45 AM
I have moved this thread to the Ext JS 4 Q&A forum, please post into the appropriate forum.

This was a bug that was fixed in the 4.1.0 releases I believe.

gilsonm
12 Feb 2012, 11:00 AM
Thanks,
I downloaded the "Ext JS 4.1 Beta 2" and the issue above is not happening anymore.

Thanks!