PDA

View Full Version : [CLOSED] Problem to get store from code behind



feanor91
Apr 27, 2012, 11:49 AM
Hello

I try to get the store from a grid in code behind.

When I use



grid.store.add(myStore)


I can get the store like that



store=grid.store.primary


or like that




store=grid.store.item(0)


but if I use the storeID in apsx page, this method di not work. How can I do?

Daniil
Apr 27, 2012, 1:08 PM
Hi,

Please use the GetStore method.

this.GridPanel1.GetStore()

feanor91
Apr 27, 2012, 1:32 PM
Hi,

Please use the GetStore method.

this.GridPanel1.GetStore()

Ok, thanks