The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I want to get a new row on click of a button, in which user will give input in different colums as text box inputs, and after that the data source should be updated as the input the user gives.Kindly let me know how to implement this
PSPavithra Subramaniyam Syncfusion Team May 3, 2019 05:17 AM UTC
Hi Shounak,
Thanks for contacting Syncfusion support.
From your query, We suspect that you want to programmatically add a new row in Grid and update it. If yes you can achieve your requirement by using the “addRecord” method and “endEdit” methods of Grid edit module. Please refer to the below code example, documentation link and sample link for more information.
[component.html]
<button (click)="add($event)" >Add</button>// for adding a new row with input box
<button (click)="update($event)" >Update</button>// updating the added row