Table of Contents
- Getting Started
- EO.Pdf
- EO.Web
- EO.WebBrowser
- EO.Wpf
- Common Topics
- Reference
- .NET API Reference
- JavaScript API Reference
- EO.Web
- EO.Web
- Objects
- Global Functions
- Event Handlers
- Event Handlers
- calendar_event_handler
- callback_after_execute_handler
- callback_after_update_handler
- callback_before_execute_handler
- clientside_error_handler
- clientside_evalvar
- clientside_generic_handler
- clientside_message_handler
- contextmenu_handler
- dialog_event_handler
- editablelabel_change_handler
- editor_contextmenu
- editor_paste_handler
- grid_column_beginedit
- grid_column_endedit
- grid_customcolumn_gettext
- grid_itemcommand_handler
- grid_itemevent_handler
- navigator_event_handler
- spellchecker_correct_error_handler
- toolbar_event_handler
- treeview_afterpopulate_handler
- treeview_checkstatechanging_handler
- treeview_dragdrop_handler
- treeview_rename_handler
- uploader_fileselected_handler
- uploader_progress_handler
- EO.WebEngine
- EO.Web
grid_column_endedit |
Client side event handler for ClientSideEndEdit.
Note: This is a prototype, not a function. You should provide a function that matches this prototype if you wish to handle the corresponding event on the client side. The prototype provides information about the arguments and return value of the function you provide.
Syntax
JavaScript
grid_column_endedit(cell, newValue)
Parameters
- cell
- The GridCell to leave edit mode.
- newValue
- The new value for the cell. This argument is null if the column is a CustomColumn, in which case you should retrieve the new value from your editing UI.
Return Value
-
Returns the new value for the cell.
Remarks
EO.Web Grid ignores the return value and regards the editing as being canceled if this function returns the same value as before editing. So in order to cancel the edit, you can return
JavaScript
function on_endedit(cell, newValue) { //returns the original value if user choose //not to save the change if (!window.confirm("Save changes?")) return cell.getValue(); //code to retrieve and return the new value ..... }
See Also