Occurs when the current row changes in the DataWindow.
Argument |
Description |
---|---|
sender |
String. Identifier for the client-side control. |
newRow |
Number. The number of the row that has just become current. |
Web DataWindow client control
There are no special outcomes for this event. The only code is:
0 Continue processing
The SetRow function, as well as user actions, can trigger the RowFocusChanged and ItemFocusChanged events.
Postback calls to the server-side RowFocusChanged event The corresponding server-side event can be triggered by the following default event handlers: PBDataWindow_RowFocusChanged, PBDataWindow_ClickedDifferentRow, and PBDataWindow_DelayedClickedDifferentRow.
This script in the .aspx file displays an alert message when the row focus changes:
function objdw_RowFocusChanged(sender, newRowNumber) { alert("Focus changed to row " + newRowNumber); }