This question is locked. New answers and comments are not allowed.
hello..
generally we use filter as follows in code...
but my requrement is I want to compare just 1st 4 characters of both input field (
So, I can do on input field as follows...
But how can I apply the same logic on FNAME grid column value?
generally we use filter as follows in code...
var enteredFilterStr = null;gridPersons.filter("");enteredFilterStr = "FNAME~substringof~'" + $("#FNAME").val() + "'";gridPersons.filter(enteredFilterStr);but my requrement is I want to compare just 1st 4 characters of both input field (
$("#FNAME").val()) and grid column value (FNAME).So, I can do on input field as follows...
enteredFilterStr = "FNAME~substringof~'" + $("#FNAME").val().substr(0,3) + "'";