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 see it in the documentation, but when I use
RefGrid.Item[3,4] it gives me an error of:
Syncfusion.Windows.Forms.Grid.GridDataBoundGrid does nto contain a definition for ''Item''? if this is the case, how do I get the text value of a cell?
Thanks,
Maggie
ADAdministrator Syncfusion Team March 2, 2006 05:36 AM UTC
Hi Maggie,
In C#, this property is the indexer for the GridDataBoundGrid class and it returns the GridStyleInfo object which holds all information stored for a cell.
The indexer provides you with a very simple way to query and change cell contents. Below is a code snippet.
cellValue = this.gridDataBoundGrid1.Model[1,1].Text;
or
cellValue = this.gridDataBoundGrid1[1,1].Text
Regards,
Calvin.