How to find or search in jquery grid using Uppercase or Lowercase
Posted
by kumar
on Stack Overflow
See other posts from Stack Overflow
or by kumar
Published on 2010-06-09T18:01:48Z
Indexed on
2010/06/09
18:32 UTC
Read the original article
Hit count: 486
jQuery
Hello Friends,
I have jquery grid, with User data i am using same type of grid..
http://www.trirand.com/blog/jqgrid/jqgrid37/jqgrid.html
when you want to search any user in the grid.. I can do it exactly what data( Uppercase or lowercase letters).. but if the data in the grid is UpperCase( STUDENT) if i am searcing with student.. I am not getting the result.. i need to give exact work like STUDENT..
is there any way that I can search option case sensetive.?
is this the thing exactly what I am looking for?
jQuery.expr[':'].Contains = function(a, i, m) {
return jQuery(a).text().toUpperCase().indexOf(m[3].toUpperCase()) >= 0;
};
I used this code in my document.ready funtion but nothing happening
thanks
thanks
© Stack Overflow or respective owner