Categories | Question details Back To List | ||
searching in grid hello i have two text boxes one for to give search criteria and second for column indexk var searchValue=document.getElementById('filterValue').value; var col_ind = document.getElementById('filterColumn').value; obj.filterBy(col_ind,searchValue); i write this code to find data in dhtmlxgrid,but by this resultant row will be visible.But i want to highlight that row so that other grid data also visble. Please suggest me solution for that. Shweta Answer posted by Support on Nov 12, 2008 04:08 var searchValue=document.getElementById('filterValue').value; var col_ind = document.getElementById('filterColumn').value; var res = obj.findCell(searchValue,col_ind); //find instead of filter obj.clearSelection(); for (var i=0; i<res.length; i++) obj.selectRowById(res[i][0],true); //select results |