Skip to content

SyncfusionExamples/different-editing-modes-and-cell-edit-types-in-react-tree-grid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Different Editing Modes and Cell Edit Types in React Tree Grid

Repository Description

A quick-start project that demonstrates different editing modes and cell edit types in the Syncfusion React Tree Grid. This project showcases toolbar-based editing with multiple CRUD operations and custom command columns for managing records in a hierarchical task structure.

Overview

This repository provides a practical example of implementing editing functionality in the EJ2 TreeGrid component with Row editing mode, various cell editors, and command columns for CRUD operations in React applications.

Features

  • TreeGrid Component with Row Editing: Integrated Syncfusion EJ2 TreeGrid with row-based editing mode
  • Toolbar Actions: Add, Edit, Delete, Update, and Cancel operations via toolbar buttons
  • Multiple Cell Edit Types: DatePicker for dates, Dropdown for priority selection, Boolean editor for approval status
  • Command Column: Inline action buttons (Edit, Delete, Save, Cancel) for individual record management
  • Local Data Binding: Hierarchical task data with parent-child relationships via subtasks
  • Pagination: Built-in paging support for better data organization

Project Prerequisites

Before starting, ensure you have the following installed:

  • Node.js: Latest stable version
  • Visual Studio Code: Latest version recommended
  • npm: Node Package Manager (included with Node.js)
  • Basic knowledge of React and JavaScript

Installation

Clone and set up the project:

git clone https://github.com/SyncfusionExamples/different-editing-modes-and-cell-edit-types-in-react-tree-grid
cd different-editing-modes-and-cell-edit-types-in-react-tree-grid
npm install

Running the Application

Start the development server:

npm start

The application will open in your default browser. Any changes you make to the source files will automatically reload the application.

Examples

Explore Syncfusion EJ2 TreeGrid editing and cell type examples: https://ej2.syncfusion.com/react/demos/#/tailwind3/treegrid/row-editing https://ej2.syncfusion.com/react/demos/#/tailwind3/treegrid/dialog-editing https://ej2.syncfusion.com/react/demos/#/tailwind3/treegrid/cell-edit-types https://ej2.syncfusion.com/react/demos/#/tailwind3/treegrid/command-column https://ej2.syncfusion.com/react/demos/#/tailwind3/treegrid/toolbar

Documentation

For detailed information on editing configurations and cell edit types: https://ej2.syncfusion.com/react/documentation/treegrid/editing/ https://ej2.syncfusion.com/react/documentation/treegrid/columns/column-types/

About

A quick-start project that helps you to enable toolbar with editing options in React Tree Grid, and the different cell edit types and modes. This project also contains simple code to render command columns in Tree Grid.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors