finds cell in the grid by its value
value | string | search string |
c_ind | number | index of the column to search in (optional, if not specified, search everywhere) |
first | boolean | find only the first occurence (optional, false by default) |
compare | boolean | find only exact matches of the entered value, false by default |
Available only in PRO Edition
//search for "alf" value in all grid cells
var searchResult = myGrid.findCell("alf");
//search for "alf" value in the second column, find only the first occurence
var searchResult = myGrid.findCell("alf",1,true);
//search for "alf" value in the second column, find only exact matches
var searchResult = myGrid.findCell("alf",1,false,true);
Back to top