Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
24460 | Feb 4,2005 12:10 PM UTC | Feb 16,2005 10:29 AM UTC | WinForms | 11 |
![]() |
Tags: Grouping |
this.groupingGrid1.TableControl.WantEnterKey = false;
and then override
protected override bool ProcessDialogKey(Keys keyData)
{
if (keyData == Keys.Enter)
{
GridCurrentCell cc = this.groupingGrid1.TableControl.CurrentCell;
cc = cc.Renderer.GetNestedCurrentCell();
cc.ConfirmChanges();
cc.Lock();
((GridTableControl) cc.Grid).Table.CurrentRecordManager.EndEdit();
cc.Unlock();
}
return base.ProcessDialogKey (keyData);
}
Stefan
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.