:: Forum >>
custom event - onrowselected
Hi,
I need to raise a custom event when one or more rows are selected on the Grid. How should I go about this? would I need changing anything in _action.js?
Thanks in advance,
Kalyan
Thursday, June 29, 2006
For each property there is one event firing before change (..Changing) and one after change (...Changed), here you can use -
obj.onSelectedRowsChanged = function(arrayOfSelectedRows){
...
}
or
obj.onRowSelectedChanged = function(selected, index){
...
}
Note, that the second event fires twice, first for the row which becomes unselected, then for the row which becomes selected.
Alex (ActiveWidgets)
Thursday, June 29, 2006
Thanks Alex,
You are a life saver :-)
Kalyan
Friday, June 30, 2006
may table doenst hav these methods, whats wrong?
i always got 'undefined' when trying to see content.
Pc
Friday, September 22, 2006
nvm, tkz.
Pc
Friday, September 22, 2006
This topic is archived.
Back to support forum
Forum search