does GridDataBoundGrid has Item Property

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

1 Reply

AD Administrator 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.

Loader.
Up arrow icon