AD
Administrator
Syncfusion Team
September 27, 2005 07:58 PM UTC
Here is a minimal sample showing this working using version 3.3.
http://www.syncfusion.com/Support/user/uploads/GGC_GLC_a847ab43.zip
Are you setting the Displaymember, ValueMember and DataSource properties?
RP
Ross Prestmo
September 28, 2005 06:41 PM UTC
Clay,
Thanks for your help. My problem was that I was not setting the ValueMember property.
What I am actually trying to do is to populate multiple cells in the current row based on the selection from the GridListControl.
I''ve put the following code in the trigger that I pasted above, to try to do this, and it seems to work, except that the value doesn''t show up in the grid until I move to a different cell.
int i = this.gridGroupingControl1.TableControl.Model.NameToColIndex("REASONID"); this.gridGroupingControl1.TableControl.Model[cc.RowIndex,i].Text = drv[1].ToString();
I can get it to show up immediately if I call :
this.Validate();
... but I don''t know if that is the best way to acheive this.
If you could let me know if there is a better way, that would be great.
Thanks.
Ross.