We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

does GridDataBoundGrid has Item Property

Thread ID:





41427 Mar 1,2006 11:53 AM Mar 2,2006 12:36 AM Windows Forms 1
Tags: GridControl
Asked On March 1, 2006 11:53 AM

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

Administrator [Syncfusion]
Replied On March 2, 2006 12:36 AM

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.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.