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 » Imposibble consenting to the value of a cell of an Unbondgrid Collapse All
Subject Author Date
CARLOS HERNANDEZ Oct 22, 2007 - 11:36 AM

From a click button, I try to consent to the value of a cell with DataValue, but an error exists

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
UnboundGridControl1.Cell(1,1).DataValue <-----------ERROR
EndSub

Martin S Feb 22, 2012 - 7:15 AM

got it, sorry, changed datarow for row when adding references

Martin S Feb 22, 2012 - 7:11 AM

tried this example to modify a column value depending on other comboboxcell but can’t
cause it says


Dim _TotalByColumnRow As Elegant.Ui.Grid.Row
_TotalByColumnRow = grdU.Rows(1)
Dim totalByColumnCell As Elegant.Ui.Grid.Cell = _TotalByColumnRow.Cells(grdU.Columns(1))

_TotalByColumnRow.Cells(grdU.Columns(1))

’Cells’ is not a member of ’Elegant.Ui.Grid.Row’.    

what reference i’d have to add to use object cells?

thanks

CARLOS HERNANDEZ Oct 22, 2007 - 11:40 AM

In the event click, intent to save to a file in particular the value of some cell.

CARLOS HERNANDEZ Oct 22, 2007 - 12:08 PM

SOLUTION


Dim _TotalByColumnRow As DataRow
_TotalByColumnRow = UnboundGridControl1.Rows(1)
Dim totalByColumnCell As Cell = _TotalByColumnRow.Cells(UnboundGridControl1.Columns(1))


THANKS