onRowBounding(element, row)

  • This is a user edit event function.
  • grid number Grid object.
  • element object table row.
  • row object Grid row object.

Row object structure.

  • Description of row object in edit function.
  • row.rowIndex number Data Row Index.
  • row.data json object Copyed row data.

onRowBounding event samples

// Samples
grid1.onRowBounding(function(grid, element, row) {
    if (row.data['manager'] == 'William')  grid.addUserClass(element, 'tbs-row-color5');
});