18 Nov 2008 4:01 AM #1
I need to refresh one grid item inside layout window
grid is inside center region of layout window
please any one help
18 Nov 2008 4:33 AM #2
One way is to reload the store
Do you mean you want to reload the grid? Not one row in the grid, yes?
If so, just reload the grid store.
18 Nov 2008 6:35 PM #3
thanks 4 ur replay
Reloading store is possible that i know but in my case it is little bit different
i have two buttons on my panel ,
when clicking on 1st the grid will be populated from one table in db
and on 2nd button click the same grid will be populated with different table in db
so i am using a dynamic grid and cloumn model
when clicking on buttons i am reloading store according to different tables
but the grid is in different region of the panel and
, i just need to recreate or refresh
the grid (or container of the grid)
i dont know howw ? please help
21 Nov 2008 2:54 PM #4
Hmm... Can you clarify?
So what you mean is that you have one grid, that can load two different data sets based on the button clicked.
Not only you want to reload the data, you also want to recreate the grid to reflect the column model. Yes?
Probably the simplest solution that I can think of is to create two grid and swap them (or the container) over with a card layout.
It would work like in the "Layout Browser" example:
If you post your code, I can probably give you a better answer...