Hi,
I tried your code but in 5.2 Grid because we are using that one (and I can’t use any other) and it didn't work. When I key in the grid and press Enter only the first column value appears in the GridView (which is not bed).
But if I key in the new row and press downarrow the values are still not in the GataView unless I start to key in the next new row in the grid. So it seems that the changes are not committed or saved in the table.
In my application the row state of record is “detached” after pressing downarrow, and “added” after pressing enter. How to change that and make the row state added when I press downarrow, I tried with e.TableControl.Table.EndEdit() in TableControlCurrentCellKeyDown when e.Inner.KeyData == Keys.Down but it didn't work.
private void gdInvoiceMatching_TableControlCurrentCellKeyDown( object sender, Syncfusion.Windows.Forms.Grid.Grouping.GridTableControlKeyEventArgs e )
{
switch ( e.Inner.KeyData )
{
//…………………………
case Keys.Down:
e.TableControl.Table.EndEdit();
break();
}
}
Can you please tell me what I can try next?
>You might try calling record.EndEdit() to see if that does what you need in your code.
But I could not see this problem using our latest 6.1 code. Here is the sample I used. I could enter a value in the top row in the GridGroupingControl, press the downarrow, and see it appear in the neighboring DataGridView.
WindowsApplication20.zip