TreeGrid allows you to edit the single cell or an entire row at a time. You can enable this functionality by enabling allowEditing option in editSettings option. $("#TreeGridContainer").ejTreeGrid({ editSettings: { allowEditing: true, }, //... }); When this option is enabled, you can change a static cell or a row into edit mode interactively in the following ways,
Code snippet: $("#TreeGridContainer").ejTreeGrid({ editSettings: { allowEditing: true, //To enable cell editing, set editMode to ‘cellEditing’. editMode: "rowEditing", }, //To enable context menu editing contextMenuSettings: { showContextMenu: true, contextMenuItems: ["edit"] }, //To enable toolbar editing toolbarSettings: { showToolbar: true, toolbarItems: [ ej.TreeGrid.ToolbarItems.Edit, ] }, }); Sample link A sample for Treegrid editing is available in the following links
|
This page will automatically be redirected to the sign-in page in 10 seconds.