when the cell get the focus,it can not be edited right now,It must be clicked by mouse then it can be input,I want to the current cell can accept input when it's active cell.
could you help me on it? thanks!
grid.DisplayLayout.Override.CellClickAction = CellClickAction.EditAndSelectText
Sorry for telling all , I have written below code in the ultraGrid1_InitializeLayout event,so that the cursor enter the nextcell(or nextrow) after user pressing the Enter Key
this.ultraGrid1.KeyActionMappings.Add(new Infragistics.Win.UltraWinGrid.GridKeyActionMapping(System.Windows.Forms.Keys.Enter, Infragistics.Win.UltraWinGrid.UltraGridAction.NextCell, Infragistics.Win.UltraWinGrid.UltraGridState.IsCheckbox, 0, 0, 0));
Amiram Korach , accroding your suggestion, it doesn't work fine.
I have added below code in the ultraGrid1_InitializeLayout event,
All I want to do as below:
I finish inputting in one cell, I press Enter key , then the cursor enter the next cell, so I want I can directly input in the cell without clicking current cell beforehand. but in fact I need to click the current cell, it can accept user input,(if you use Tab key make the cursor enter the next cell, it can be directly input)
How to set or write the code?
Thanks, I have accomplied this function, add below code in active event
this.ultraGrid1.PerformAction(UltraGridAction.EnterEditMode, false, false);