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

Customizing the grid's filter options

1 Answer 37 Views
MVVM
This is a migrated thread and some comments may be shown as answers.
Icon
Top achievements
Rank 1
Icon asked on 24 Mar 2014, 04:15 PM
I'm using data binding with MVVM for my grid and am trying to apply a custom filter but it doesn't seem to be picking it up am I doing something wrong?

data-filterable="extra: false, operators: { string: { startswith: 'starts with', eq: 'Is equal to' , neq: 'Is not equal to' } }"

1 Answer, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 25 Mar 2014, 03:07 PM
Hello Chris,

Complex configurations such as filterable options should be transformed to JSON objects.
Please use the following syntax:
data-filterable='{ "extra": false, "operators": { "string": { "startswith": "starts with", "eq": "Is equal to" , "neq": "Is not equal to" } } }'


Regards,
Alexander Valchev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
MVVM
Asked by
Icon
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Share this question
or