Clicked
Description
Occurs when the user
clicks anywhere in a DataWindow control.
| Argument | Description |
|---|---|
| sender | String. Identifier for the client-side control. |
| row | Number. The number of the row the user clicked. |
| objectName | String. The name of the control within the DataWindow under the pointer when the user clicked. |
Controls
Web DataWindow client control
Return Values
Set the return code to affect the outcome of the event:
- 0 Continue processing
- 1 Prevent the focus from changing
Usage
When the user clicks on a DataWindow button, the Clicked event
occurs before the ButtonClicking event. When the user clicks anywhere
else, the Clicked event occurs when the mouse button is released.
Postback calls to the Clicked server-side event The corresponding server-side event can be triggered by the
following default event handlers: PBDataWindow_Clicked
and PBDataWindow_DelayedClicked.
Examples
This script in an .aspx file
that submits the value of the selected row in the DataWindow to
the server:
|
1 |
function objdwCustomers_Clicked(sender, rowNumber, objectName) {<br /> document.Form1.rownum.value = rowNumber;<br /> document.Form1.submit();<br />} |
See Also
- ButtonClicked
- ButtonClicking
- DoubleClicked
- ItemFocusChanged
- RButtonDown
- RowFocusChanged
- RowFocusChanging
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest