void textBox1_Validated(object sender, EventArgs e)
{
//update the value in the list somehow...
list[row].CValue = textBox1.Text;
row = (++row) % list.Count;
//force the grid to refresh itself.
gridGroupingControl1.Table.TableDirty = true;//.Reload();
gridGroupingControl1.Update();
}
void textBox1_Validated(object sender, EventArgs e)
{
//update the value in the list somehow...
list[row].CValue = textBox1.Text;
//force the grid to refresh itself.
// gridGroupingControl1.Table.TableDirty = true;//.Reload();
// gridGroupingControl1.Update();
for (int i = 0; i < gridGroupingControl1.Table.FilteredRecords.Count; ++i)
{
if (gridGroupingControl1.Table.FilteredRecords[i].GetData().Equals(list[row]))
{
gridGroupingControl1.Table.FilteredRecords[i].SetValue("CValue", list[row].CValue);
break;
}
}
row = (++row) % list.Count;
}
void textBox1_Validated(object sender, EventArgs e)
{
//update the value in the list somehow...
list[row].CValue = textBox1.Text;
//change the record pointed to by row
gridGroupingControl1.Table.UnsortedRecords[row].SetValue("CValue", list[row].CValue);
//increment row to hit another value next time
row = (++row) % list.Count;
}