-
arraystore.query problem
arraystore.query problem
Hello,
I have an ArrayStore that I want to query. When I run the code below TocDVa contains all the records in TocDT not the resuls of the query.
Does anyone know what I'm doing wrong?
Thanks
var TocDVa = TocDT.query (
{'property':'RootName',value:'AOIs',
'property':'Ordered',value:true});
-
Sencha User
Where did you get that parameter list from for query?
From the docs:
query( String field, String/RegExp value, [Boolean anyMatch], [Boolean caseSensitive] ) : MixedCollection
Query the records by a specified property.
Parameters: - field : String A field on your records
- value : String/RegExp Either a string that the field should begin with, or a RegExp to test against the field.
- anyMatch : Boolean (optional) True to match any part not just the beginning
- caseSensitive : Boolean (optional) True for case sensitive comparison
Returns: - MixedCollection Returns an Ext.util.MixedCollection of the matched records
Similar Threads
-
By nani_chinni in forum Ext 3.x: Help & Discussion
Replies: 2
Last Post: 20 Oct 2010, 11:48 PM
-
By Righi in forum Ext 3.x: Help & Discussion
Replies: 1
Last Post: 12 Dec 2009, 1:05 PM
-
By spiderman123 in forum Ext 3.x: Help & Discussion
Replies: 2
Last Post: 3 Nov 2009, 12:10 AM
-
By nkukard in forum Ext 3.x: Help & Discussion
Replies: 1
Last Post: 30 Jul 2009, 7:34 AM
-
By mschwartz in forum Ext 3.x: Bugs
Replies: 6
Last Post: 16 Jul 2009, 7:20 AM
Tags for this Thread
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us