UNPKG

zinggrid

Version:

ZingGrid - A fully-featured, native, web-component, data table and grid for Javascript applications.

1 lines 6.78 kB
[{"name":"data:cell:beforechange","description":"Fires the event before a single cell value is changed.","demoLink":"https://app.zingsoft.com/demos/create/AXA7XIC2","returns":[{"type":"Object","description":"The DOM cell that was updated.","name":"DOMCell"},{"type":"Object","description":"The data object associated with that record.","name":"data"},{"type":"String","description":"The column index e.g. \"firstName\".","name":"fieldIndex"},{"type":"String","description":"The new value of the cell.","name":"newValue"},{"type":"String","description":"The old value of the cell.","name":"oldValue"},{"type":"String","description":"The unique identifier for the row, this identifier never changes.","name":"recordIndex"},{"type":"Number","description":"The index of the row.","name":"rowIndex"}],"dependency":"The `editor` or `editor-controls` attribute(s) are required on the `zing-grid` tag.","tagName":"zg-data","fullName":"zg-data-event-data_cell_beforechange","category":"Event"},{"name":"data:cell:change","description":"Fires the event after a single cell value is changed.","demoLink":"https://app.zingsoft.com/demos/create/XRY6DHYJ","returns":[{"type":"Object","description":"The DOM cell that was updated.","name":"DOMCell"},{"type":"Object","description":"The data object associated with that record.","name":"data"},{"type":"String","description":"The column index e.g. \"firstName\".","name":"fieldIndex"},{"type":"String","description":"The new value of the cell.","name":"newValue"},{"type":"String","description":"The old value of the cell.","name":"oldValue"},{"type":"String","description":"The unique identifier for the row, this identifier never changes.","name":"recordIndex"},{"type":"Number","description":"The index of the row.","name":"rowIndex"}],"dependency":"The `editor` or `editor-controls` attribute(s) are required on the `zing-grid` tag.","tagName":"zg-data","fullName":"zg-data-event-data_cell_change","category":"Event"},{"name":"data:load","description":"Fires the event every time a new dataset is loaded in the grid.","demoLink":"https://app.zingsoft.com/demos/create/EAHH0K0C","returns":[],"dependency":"","tagName":"zg-data","fullName":"zg-data-event-data_load","category":"Event"},{"name":"data:record:beforechange","description":"Fires the event before a record (row) is changed.","demoLink":"https://app.zingsoft.com/demos/create/X9G7WCT6","returns":[{"type":"Array","description":"The column indices that were changed e.g. [\"firstName\",\"lastName\"].","name":"changedField"},{"type":"Object","description":"The data object associated with that record.","name":"data"},{"type":"Object","description":"The old data object associated with that record.","name":"oldData"},{"type":"String","description":"The unique identifier for the row, this identifier never changes.","name":"recordIndex"},{"type":"Number","description":"The index of the row.","name":"rowIndex"}],"dependency":"The `editor` or `editor-controls` attribute(s) are required on the `zing-grid` tag.","tagName":"zg-data","fullName":"zg-data-event-data_record_beforechange","category":"Event"},{"name":"data:record:beforedelete","description":"Fires the event before a record (row) is deleted from the grid.","demoLink":"https://app.zingsoft.com/demos/create/5LPMYI4F","returns":[{"type":"Object","description":"The data object associated with that record.","name":"data"},{"type":"String","description":"The unique identifier for the row, this identifier never changes.","name":"recordIndex"},{"type":"Number","description":"The index of the row.","name":"rowIndex"}],"dependency":"The `editor` or `editor-controls` attribute(s) are required on the `zing-grid` tag.","tagName":"zg-data","fullName":"zg-data-event-data_record_beforedelete","category":"Event"},{"name":"data:record:beforeinsert","description":"Fires the event before a new record (row) is added to the grid.","demoLink":"https://app.zingsoft.com/demos/create/95KH1Z2U","returns":[{"type":"Object","description":"The data object associated with that record.","name":"data"},{"type":"Number","description":"The index of the row.","name":"rowIndex"}],"dependency":"The `editor` or `editor-controls` attribute(s) are required on the `zing-grid` tag.","tagName":"zg-data","fullName":"zg-data-event-data_record_beforeinsert","category":"Event"},{"name":"data:record:change","description":"Fires the event after a record (row) is changed.","demoLink":"https://app.zingsoft.com/demos/create/TPM8ZZH7","returns":[{"type":"Array","description":"The column indices that were changed e.g. [\"firstName\",\"lastName\"].","name":"changedField"},{"type":"Object","description":"The data object associated with that record.","name":"data"},{"type":"Object","description":"The old data object associated with that record.","name":"oldData"},{"type":"String","description":"The unique identifier for the row, this identifier never changes.","name":"recordIndex"},{"type":"Number","description":"The index of the row.","name":"rowIndex"}],"dependency":"The `editor` or `editor-controls` attribute(s) are required on the `zing-grid` tag.","tagName":"zg-data","fullName":"zg-data-event-data_record_change","category":"Event"},{"name":"data:record:delete","description":"Fires the event when a record (row) is deleted from the grid.","demoLink":"https://app.zingsoft.com/demos/create/NXAB4Z1Q","returns":[{"type":"Object","description":"The data object associated with that record.","name":"data"}],"dependency":"The `editor` or `editor-controls` attribute(s) are required on the `zing-grid` tag.","tagName":"zg-data","fullName":"zg-data-event-data_record_delete","category":"Event"},{"name":"data:record:insert","description":"Fires the event after a new record (row) is added to the grid.","demoLink":"https://app.zingsoft.com/demos/create/033EHETB","returns":[{"type":"Object","description":"The data object associated with that record.","name":"data"},{"type":"Number","description":"The index of the row.","name":"rowIndex"}],"dependency":"The `editor` or `editor-controls` attribute(s) are required on the `zing-grid` tag.","tagName":"zg-data","fullName":"zg-data-event-data_record_insert","category":"Event"},{"name":"data:record:openinsert","description":"Fires event when the insert dialog is opened","demoLink":"https://app.zingsoft.com/demos/create/N0650LRP","returns":[{"type":"String","description":"The container for all of the input fields on the new dialog","name":"ZGData.inputContainer"},{"type":"Object","description":"An array of references to each label and edit field inside the new dialog","name":"ZGData.editorFields"},{"type":"Object","description":"A reference to the DOM dialog.","name":"ZGTarget"}],"dependency":"","tagName":"zg-data","fullName":"zg-data-event-data_record_openinsert","category":"Event"}]