Professional UI Solutions
Site Map   /  Register


Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » [Elegant Grid] Value of a cell Collapse All
Subject Author Date
JUAN VAZQUEZ Apr 23, 2007 - 7:37 PM

I’m programming in, Im using elegant grid . I need to access to a specified cell, I have the index number, and the column name what propierty give me the value of a cell?

Technical Support Apr 24, 2007 - 9:32 AM

When working with Bound Grid, you cannot access its cells directly. This is described in this FAQ:
When working with the bound grid, I encountered that some row and cell objects are invalid. What’s wrong?

If you want to access data values by a grid row index, please use BoundGridControl.GetDataSourceItemByRowIndex(), which returns the data row object the grid row is bound to, which, in its turn, allows you to obtain the "cell" value.