This is a migrated thread and some comments may be shown as answers.

[Solved] Grid client side code

2 Answers 119 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ashni
Top achievements
Rank 1
Ashni asked on 05 Nov 2010, 12:17 PM

I am trying to use the MVC grid client API for filtering.  However, i cannot seem to get working quire right. 

grid.filter(startswith('Name', 'iCMP'));

The following line of code returns javascript error object expected.  Please can you let me know what the correct syntax is?

2 Answers, 1 is accepted

Sort by
0
El Roy
Top achievements
Rank 1
answered on 16 Mar 2011, 11:55 PM
i have the same problem too.  I also notice that in documentation it says member~filterOperator~value but in actual
it should be value~filterOperator~member
0
El Roy
Top achievements
Rank 1
answered on 17 Mar 2011, 12:14 AM
i got this figured out the correct syntax should be startswith(Lastname,'Bill')

No *space" after the comma. 
Tags
Grid
Asked by
Ashni
Top achievements
Rank 1
Answers by
El Roy
Top achievements
Rank 1
Share this question
or