Home › Forums › Guriddo jqGrid JS › Help › Search Javscript Objects
I am passing objects to my grid and using a formatter to display it correctly. The whole grid is running locally so the search should be running through javascript.
For instance I pass in
Hello,
How is your object constructed.
The below is not tested, but maybe if you define the index property in appropriate way it should work.
Suppose you object is myobject : { FirstName: …, }, then the index in colModel can look like this
colModel :[
{ … index: myobject.FirstName … }
…
]
Regards
Thanks for the help Tony…
I don't know why I didn't think of that. I think it confused me because
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS