Thanks Haneef; I think I can use that -
a related question. How can I add/enable dropdowns on the Add New Record Row? I am toggling using:
this.myGGC.TopLevelGroupOptions.ShowAddNewRecordBeforeDetails = true;
etc..
but I'd like to have selected cells in that row have pre-populated dropdowns for cell values that are not user input or that have a list of choices (like an ID)
Thanks again,
>Hi Dimitri,
Try this code in TableControlCurrentCellMoving event of the grid.
private void gridGroupingControl1_TableControlCurrentCellMoving(object sender, GridTableControlCurrentCellMovingEventArgs e)
{
if( e.TableControl.CurrentCell.IsModified )
{
DialogResult result = MessageBox.Show("Do you want to save the cellchange","Header",MessageBoxButtons.OKCancel) ;
if( result == DialogResult.OK )
this.gridGroupingControl1.Table.EndEdit();
else
this.gridGroupingControl1.Table.CancelEdit();
}
}
Here is a sample:
gridFindDialog.zipBest regards,
Haneef