how to filter data from datatable in javascript

Posted by Chaithragm under JavaScript on 11/24/2014 | Points: 10 | Views : 1416 | Status : [Member] | Replies : 0
im using this function to bing the child grid ,dtClientPendStatus is a datatable in which i need to apply filter condition to do this in javascript
function fnOnDataBinding(sender, eventArgs)
var gridsender = sender;
var MasterTable = gridsender.get_masterTableView();
var currentrow = MasterTable.get_dataItems()[eventArgs.get_itemIndexHierarchical()];
var cell = MasterTable.getCellByColumnUniqueName(currentrow, "ClientID");
//dtClientPendStatus.Rows.splice(cell.innertext, currentrow._itemIndex);
var detailTablesArray = grid.get_detailTables();
updateChildGrid(dtClientPendStatus, detailTablesArray[currentrow._itemIndex]);


(No response found.)

Login to post response