onCellClick

The event occurs when a grid cell is clicked. You can get more information where exactly the user has clicked.

    let rowElement = app.getFieldValue("myGrid.clickedRow"); //The html Row element (a tr)
    let cellElement = app.getFieldValue("myGrid.clickedCell"); //The html Cell element (a td)
    let cellId = app.getFieldValue("myGrid.clickedCellId"); //column id of the clicked cell (e.g. "adrFirstName")

Last updated