View Full Version : [FIXED] Editable Grid example bug

30 Mar 2009, 3:47 PM
- Detailed description of the problem

In the Editable Grid example, if the grid has been sorted by clicking on one of the column headers, the next time "Add Plant" is selected, the grid gets populated with another full set of data, so there are now duplicate rows in the table. At this point, the "Add Plant" functionality is basically broken.

- GXT version


- Host mode / web mode / both


- Browser and version

Hosted mode. Also IE6, Mozilla 3.x

- Operating System

Windows XP SP3

- Sample code

See source code for:


- Question

Why is this happening? Is it a bug in the API? If not, what is the workaround?

30 Mar 2009, 7:10 PM
I took the Editable grid example code and tried calling grid.reconfigure(grid.getStore(), origColModel) when I see the SortChange event, but it seems to cause other problems, e.g. it breaks sorting.

Since I need to implement very similar (almost identical) functionality as the Editable Grid example, I really need to find out if this is a bug or there is something else the code needs to do to deal with sorting and keep the grid and store in sync.


6 Apr 2009, 2:03 PM
Fixed in SVN