kendo UI grid - different behavior of filterable operators when disable them for one column -


as described in documentation of kendo ui can affect possible filter operators construct:

 filterable: {     operators: {         string: {             isempty: "is empty",             isnotempty: "is not empty",             startswith: "starts with",             contains: "contains",         }     }, }, 

with lines included in columns definition, 4 operators in dropdown select filtering. "is empty" works correctly. other 3 options no results.

if delete these lines column definition of grid whole options filterable.operators.string. when select 1 of 4 options, shown above, works fine , result correct.

why there different behavior between default operators column , when disabling of them? , how can correct behavior 4 operators?

try putting startswith filter option first this:

filterable: {     extra: false,     operators: {         string: {             startswith: "starts with",               isempty: "is empty",             isnotempty: "is not empty",             contains: "contains",         }     } } 

i did testing this example , if didn't have startswith first filter option behave described. otherwise worked.


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -