A quick-start project that helps you to perform different types of selection in Vue Grid and know about different modes of selection – Row, Cell and Both. This project contains code snippet about cell, checkbox and toggle selection, and the way to get row index of selected cells using row selection events.
Documentation: https://ej2.syncfusion.com/vue/documentation/grid/selection/
Online examples: https://ej2.syncfusion.com/vue/demos/#/material/grid/selection.html
Make sure that you have compatible versions of Node and Vue CLI in your machine before starting to work on this project.
To run this application, you need to first clone the cell-and-checkbox-selection-with-vue-grid-rows
repository and then navigate to the path where it is located in your system.
To do so, open the command prompt and run the following commands one after the other.
git clone https://github.com/SyncfusionExamples/cell-and-checkbox-selection-with-vue-grid-rows grid-example
cd grid-example
After downloading, you need to install the packages required to run this application locally. To do so, run the following command:
npm install
This will install all the needed Vue packages into your current project.
Run the npm run serve
command for a dev server. Navigate to http://localhost:8080/
. The app will automatically reload if you change any of the source files.
To get more help on Vue CLI use, check the [Vue-Cli README] (https://github.com/vuejs/vue-cli/blob/master/README.md).