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.
Hi,
I am using GDBG.
I use the following code to delete a row, when the user double clicks on the grid. but its not deleting the first row or the last added row.
DataTable table = (DataTable) syfGrid.DataSource;
int curRowIndex = syfGrid.CurrentCell.RowIndex;
if (syfGrid.Model.RowCount > 1 && curRowIndex > 0
&& syfGrid.Model.RowCount > curRowIndex )
{
int recNumber = syfGrid.Binder.RowIndexToPosition(curRowIndex);
syfGrid.Binder.RemoveRecords(recNumber, recNumber);
}
else
{
Console.WriteLine("No More rows / CurCell is not set");
}
Pls throw a light onthis.
Many Thx
Ram