onCurrentSelectedRow event
Hi
I did not find an event "onCurrentSelectedRow" or something like this, when the current selected row is selected again.
I am using a "single-row" mode.
I did as following
var previousRow = '';
grid.onSelectedRowsChanged = function(rowIndicesArray){
Row = rowIndicesArray;
Id_player_account = grid.getCellValue(3,rowIndicesArray);
label.setControlText("rows: [" + Row + ", " + Id_player_account + "]");
}
grid.onRowClicked = function(event, rowIndex){
if ( previousRow == this.getRowPosition(rowIndex))
{
alert(this.getRowPosition(rowIndex));
}
previousRow = this.getRowPosition(rowIndex);
Is there a better way to do so?? what do you think guys??
I did not find an event "onCurrentSelectedRow" or something like this, when the current selected row is selected again.
I am using a "single-row" mode.
I did as following
var previousRow = '';
grid.onSelectedRowsChanged = function(rowIndicesArray){
Row = rowIndicesArray;
Id_player_account = grid.getCellValue(3,rowIndicesArray);
label.setControlText("rows: [" + Row + ", " + Id_player_account + "]");
}
grid.onRowClicked = function(event, rowIndex){
if ( previousRow == this.getRowPosition(rowIndex))
{
alert(this.getRowPosition(rowIndex));
}
previousRow = this.getRowPosition(rowIndex);
Is there a better way to do so?? what do you think guys??
DD
February 13,