If we press enter focus moves to next column and in last column on pressing enter focus moves to next row first column.
Hi Luu Tan Phat,
Please find answer for your queries below
|
Queries |
Solutions |
|
|
If we press enter focus moves to next column |
Your requirement to move focus to next column when pressing Enter key in GridGroupingControl can be achieved by setting GridDirectionType.Right for EnterKeyBehavior property in GridGroupingControl.Table.TableModel.Options. Please refer the below code snippet,
|
|
|
in last column on pressing enter focus moves to next row first column |
Your requirement to move focus to the first column of the next row when pressing Enter key in last column in GridGroupingControl can be achieved by setting GridWrapCellBehavior.WrapRow for WrapCellBehavior property in GridGroupingControl.Table.TableModel.Options. Please refer the below code snippet,
|
|
|
If we want using enter key to skip readonly columns . And if Col 3 readonly also true then foucs should be in next row, first cell. |
Your requirement to skip read only columns when move focus to next column while pressing the Enter key in GridGroupingControl can be achieved by customize the TableControlCurrentCellKeyDown event in GridGroupingControl. Please refer the below code snippet,
|
Please find the sample in the attachment and let us know if you have any
concerns in this.
Regards,
Vijayarasan S