Is there any chance to get the DOM
values of the last selected row inside a grid. I could only get the record with values and not the DOM
elements. With DOM
elements I mean the <tr>
element of the row selected.
var selectedRecord = grid.getSelectionModel().getLastSelected();
//only gets the model instance that is selected
You can use grid's view
getNode()
method. It returns HTMLElement of the grid record's row. If you want to do something with row HTML element you can useExt.get()
method to obtainExt.dom.Element
object.