How to select a row on a checkbox click? So the table has a colum for checkboxe, against each of the row. When the use checks the box, the entire row should be selected, and added to the Table's Selection Indices.
Here is a sample of what I am trying. So clicking on the checkbox, should select and vice-versa. This is a multi selection table, multi rows will be selected.
This is what I did on the change event of the checkbox
change: function(oEvent) {
var row = oEvent.getSource().getParent();
table.setSelectedIndex(row.getIndex());
}But it does not set the row highlighted.
Any inputs are much appreciated.
Thanks
Sandip







