DHTMLXGRID makeSearch

How do I use makeSearch method to highlight the the row which has particular value in a specific column? Can I have an example as how I use this method makeSearch?


You can use grid.findCell

var ids=grid.findCell(“value”); //find row which contains "value"
if (ids.length) grid.selectRowById(ids[0][0]);

var ids=grid.findCell(“value”,2); //find row which contains “value” in 3rd column
if (ids.length) grid.selectRowById(ids[0][0]);



finfCell returns an array of id|index values for each found occurence