PDA

View Full Version : Grid Data



Michi_de
24 Oct 2008, 1:10 AM
Solved ! See below...

Hi,
i've a question concerning the simple grid:
i put a ListStore<objects> into my grid, when creating it.
Now i wanted to work with the data of this grid. Is it possible, to get the selected rows and get a ListStore<objects> which contains the selected objects?
Or is it impossible, to work with this data, after a grid is created?

Im realy curious on how to work with this grids. They seem so static to me... :(

Any help?

PS. i cant use the editable grid to give the user the opportunity to just edit the grids data on the fly. Then i encounter the problem, of having to update the whole ListStore with all objects containing in the database.. i just want to update the changed objects. But maybe this is possible with the EditorGrid?
Grids are realy some heavy to get by widgets in ext gwt...

I solved this problem... i just couldnt find something suitable in the api first. The getSelectionModel() then put me on the right way...
Still a hard topic, this grids are!