PDA

View Full Version : Query records from store



andromeda1966
4 Apr 2014, 3:33 AM
Hi,
I have a store (using REST) and a grid binded to this store.
I want to retrieve all record with 'field5' = 'myvalue'.
To do so I'm using store.query('field5,' 'myvalue') method.
The problem is that 'query' method return only records present in the current grid page.
How can I query all record in the store matching 'field5' = 'myvalue' ?

Thanx in advance
Mauro
:((:-/

scottmartin
4 Apr 2014, 5:49 AM
You should query the table at the server level and only return those records to the store.

andromeda1966
4 Apr 2014, 6:09 AM
Hi,
that's what I'm trying right now.

Thanx
Mauro
:D