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 am using Syncfusion GridControl in my application.
I have taken a GridStyleInfo of a particular cell and changed it like this.
GridStyleInfo cell = this.gridControl1[2,2];
cell.Text = "This is test";
Now when i run my application, i could see this in the grid. But When i changed that cell in the grid, (say I change the text to Test2" ) and in the application code i refer that with cell.Text it gives the same old previous message (This is Test) instead of giving the new edited value. Kindly let me know anyother workarounds for this or this is a bug from syncfusion.
Thanks
Rohith.
STstanleyj Syncfusion Team February 2, 2006 06:49 AM UTC
Hi Rohith,
You will have to reassign in some handler like code below.
private void gridControl1_CurrentCellMoved(object sender, Syncfusion.Windows.Forms.Grid.GridCurrentCellMovedEventArgs e)
{
cell = this.gridControl1[2,2];
}
The other way is to directly access the cell through the indexer instead of relying on the GridStyleInfo variable.
Best regards,
Stanley