------------- Original message ---------------------- From: Ed Leafe <[EMAIL PROTECTED]> > On May 27, 2008, at 2:58 PM, Adrian Klaver wrote: > > >> Question: why, if you have a column reference, do you need the > >> index? > > > > As far as I can tell the only way to set a value in a dGrid is to > > use dGrid.setValue(row,col,val) where row and col are index values. > > So you have the DataField; why not > grid.DataSource.setFieldVal(datafield, val) ? > > I'm not trying to be difficult; I'm just trying to understand the > process you're using.
Yes that will work. The key is that the full version is grid.DataSource.setFieldVal(datafield,val,row). With the row qualifier I can locate the correct x,y position in the dGrid. > > -- Ed Leafe -- Adrian Klaver [EMAIL PROTECTED] - _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]
