Skip to main content

Posts

Showing posts from December, 2020

Create editable grid using ReactJs with mvc .net - part 2

 In the previous part, we created the grid with dynamic data and in this part, we will make the grid editable. We will add a save button to save the changes. We will be able to edit the grid using Reactjs and MVC.net with c#. Note : If you didn't go through part 1 and then please go through that first because in part1 we created the grid using live data.  Editable Grid using ReactJs with MVC .net - part 1 14. open power shell command from react folder and run the below commands to install the react-bootstrap-table2-editor npm install react-bootstrap-table2-editor --save 15. Now make the following changes in employeeList.js file. import React, { Component } from 'react'; import BootstrapTable from 'react-bootstrap-table-next'; import cellEditFactory from 'react-bootstrap-table2-editor'; const columns = [ { dataField: 'Name', text: 'Name', editable: true }, { dataFi...