shaungyuehuoniao / gwt-ext

Automatically exported from code.google.com/p/gwt-ext
0 stars 2 forks source link

EditorGridPanel - addition of rows at end or at any position #540

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I am facing an issue while trying to add new row(s) at the end/any specific 
position in EditorGridPanel - gwtext.

Using the insert() & add() method I am able to add a row at the end only one 
time. getStore() - totalCount value is not getting changed after new addition.

Say initial totalCount was n. Its only able to add row(s) at nth position never 
at n+n' position.

Scenarion - 

Initial loading of EditorGridPanel with 10 records. Clicking on add button 
creating a new Record and add / insert(totalcount) - working for once. Record 
gets added at  the end.

Next click onwards - new record gets added at 10th position only not at 11th 
position, which is required.

Original issue reported on code.google.com by sourav.m...@gmail.com on 28 Mar 2012 at 9:03