laluigino
20 Sep 2007, 9:32 AM
Hi you all!
I'm working on a little project which has a layout very similar to the "Feed Viewer" in the "Layout Examples" of the documentation.
Basically, I have a grid with paging, remote sorting, with a dataStore and a JsonReader: below there's a contentPanel that I'd like to fill (on rowclick) with more detailed data than the ones shown on the grid.
In the "Feed Viewer" example the preview is a simple copy of the field "description" into the grid itself... but in this case I should add to the grid all the columns (hidden) that i want to show into the preview panel, so I would load more data (many row per pages) that I don't need.
The way I achieve this, instead, is to create a new dataStore (very similar to the grid's one), then load data, get the result and update the contentPanel: this happens for each click on any row, that does not sound very well to me...
Something tells me there's a simplier way.... any idea?
Thank you in advance!
I'm working on a little project which has a layout very similar to the "Feed Viewer" in the "Layout Examples" of the documentation.
Basically, I have a grid with paging, remote sorting, with a dataStore and a JsonReader: below there's a contentPanel that I'd like to fill (on rowclick) with more detailed data than the ones shown on the grid.
In the "Feed Viewer" example the preview is a simple copy of the field "description" into the grid itself... but in this case I should add to the grid all the columns (hidden) that i want to show into the preview panel, so I would load more data (many row per pages) that I don't need.
The way I achieve this, instead, is to create a new dataStore (very similar to the grid's one), then load data, get the result and update the contentPanel: this happens for each click on any row, that does not sound very well to me...
Something tells me there's a simplier way.... any idea?
Thank you in advance!