Executed when the listGrid receives a 'click' event on an enabled, non-separator record. The default implementation does nothing -- override to perform some action when any record or field is clicked.
A record event handler can be specified either as a function to execute, or as a string of script to evaluate. If the handler is defined as a string of script, all the parameters below will be available as variables for use in the script.
To do something specific if a particular field is clicked, add a recordClick method or string of script to that field (same parameters) when you're setting up the list.
Notes:
Executed when this field is clicked on. Note that if {@link com.smartgwt.client.widgets.grid.ListGrid#addRecordClickHandler ListGrid.recordClick} is also defined, it will be firedfor fields that define a recordClick handler if the field-level handler returns true. Return false to prevent the grid-level handler from firing. @param handler the recordClick handler @return {@link HandlerRegistration} used to remove this handler
Executed when the tileGrid receives a 'click' event on a tile. The default implementation does nothing -- override to perform some action when any record is clicked.
A record event handler can be specified either as a function to execute, or as a string of script to evaluate. If the handler is defined as a string of script, all the parameters below will be available as variables for use in the script.
If you want to cancel the click based on the parameters, return false. Otherwise, return true so that the click event be registered with the tile.
@param handler the recordClick handler
@return {@link HandlerRegistration} used to remove this handler
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|