This sample demonstrates various selection modes and programmatic selection APIs for the Syncfusion React TreeGrid component.
A quick-start project that helps you to perform selection in a TreeGrid with different types and modes. This project contains example code to perform checkbox selection, toggle selection, and demonstrates a few selection-related APIs that can be used to control selection programmatically.
- Demonstrates row selection modes
- Shows multiple and toggle selection behaviors
- Includes checkbox selection examples
- Illustrates selection-related APIs for programmatic control
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
Clone and set up the project:
git clone https://github.com/your-org/how-to-perform-selection-in-react-treegrid
cd how-to-perform-selection-in-react-treegrid
npm install
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.
Explore Syncfusion EJ2 TreeGrid Selection examples:
https://ej2.syncfusion.com/react/demos/#/fluent2/treegrid/selection
https://ej2.syncfusion.com/react/demos/#/fluent2/treegrid/selectionapi
https://ej2.syncfusion.com/react/demos/#/fluent2/treegrid/checkbox-selection
For detailed information and configuration options: https://ej2.syncfusion.com/react/documentation/treegrid/selection/selection