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.
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.