Preloader image
DDD

유용한 TIP

w2ui - event 모음

작성자 관리자 (admin)
조회수 388
입력일 2020-06-12 23:13:53

 

 

http://w2ui.com/web/docs/1.5/grid/events

Events

onAdd - function (event)

Called when user clicks the Add New button on the toolbar.

onChange - function (event)

Called when user changes any field in the editable row.

onClick - function (event)

Called when user clicks a record.

onCollapse - function (event)

Called when user collapses expandable record.

onColumnClick - function (event)

Called when user clicks a column.

onColumnOnOff - function (event)

Called when user shows or hides a column selecting it in the grid settings menu.

onColumnResize - function (event)

Called when user resizes a column.

onContextMenu - function (event)

Called when user clicks right mouse button.

onCopy - function (event)

Called when user copies selected records to clipboard (ctrl+c or cmd+c).

onDblClick - function (event)

Called when user double clicks a record.

onDelete - function (event)

Called when user clicks the Delete button on the toolbar.

onEdit - function (event)

Called when user clicks the Edit button on the toolbar.

onEditField - function (event)

Called when user enters into editable mode for the field.

onError - function (event)

Called when server returns an error.

onExpand - function (event)

Called when user expands expandable record.

onKeydown - function (event)

Called when user presses a keyboard key and grid is active.

onLoad - function (event)

Called when server responds to a get-records request.

onMenuClick - function (event)

Called when user selects an item from the context menu.

onPaste - function (event)

Called when user pastes from clipboard (ctrl+v or cmd+v).

onReload - function (event)

Called when user clicks Reload button on the toolbar.

onRequest - function (event)

Called on any server request.

onRestore - function (event)

Called when user changes an editable records but it restores to its original value.

onSave - function (event)

Called when server responds back after save request.

onSearch - function (event)

Called when user applies a search.

onSelect - function (event)

Called when user selects a record.

onSelectionExtend - function (event)

Called when user extends selection by dragging small dot at the bottom right corner of selection.

onSort - function (event)

Called when user applies a sort.

onStateRestore - function (event)

Called when user selects "Restore Default State".

onStateSave - function (event)

Called when user selects "Save Grid State".

onSubmit - function (event)

Called on user changed data is saved.

onToolbar - function (event)

Called when user clicks any button on the toolbar.

onUnselect - function (event)

Called when user unselects a record.

Common Events

onDestroy - function (event)

Called when object is destroyed.

onRefresh - function (event)

Called when object is refreshed.

onRender - function (event)

Called when object is rendered.

onResize - function (event)

Called when object is resized.

^