Professional UI Solutions
Site Map   /  Register
 
 

Forum

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 » Elegant Grid Tech Support » Programmatically consenting to the value of a cell of an UnboundGridControl Collapse All
Subject Author Date
CARLOS HERNANDEZ Oct 22, 2007 - 10:30 AM

As I can consent to the value of a cell of an UnboundGridControl from code?

Technical Support Oct 22, 2007 - 10:35 AM

You can use Cell.DataValue and Cell.DisplayValue properties for that.

CARLOS HERNANDEZ Oct 22, 2007 - 10:44 AM

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

UnboundGridControl1.Cell.DataValue
EndSub

CARLOS HERNANDEZ Oct 22, 2007 - 10:47 AM

Impossible, it indicates me ERROR

Technical Support Oct 22, 2007 - 11:35 AM

You should obtain a particular cell instance and then use the properties. You can obtain cells in a variety of ways so a particular way depends on what you are trying to achieve. Please tell us know more so we can help you.