Row formatter
Using the OnClientRowFormat property, you can attach a javascript handler that gets called foreach row that's added to the DataTable.
In the example below, items with "Amount" greater than 300 are highlighted.
If you want to hide an entire row, depending on some client logic, you can "return false" in the OnClientRowFormat handler. Otherwise, return true.
|