Navigation im Tmsfncdatagrid unter Android

Hello,
I do not understand, how to navigate in grid for example, after input that after ok i jump to next column cell and editor automatically opens, or after choose combobox item and combobox closes automatically jump in next column.
Maybe someone could help me, thanks.

It should be possible to automatically jump to the next column with the following code:

  TMSFNCDataGrid1.Options.Keyboard.EnterKeyDirectEdit := True;
  TMSFNCDataGrid1.Options.Keyboard.EnterKeyHandling := gekhNextColumn;

It will also automatically reopen the inplace editor for that cell

Hello Pieter,
This does not work in Android, if i press ok on virtual keyboard, VK closes and curser stays blinking in same cell, i don't know what i make wrong, also the combobox only closes, but not jump in next column !

In the same way as the other post you might want to change how the returnkey responds:

The code can also be placed in the same event to customize the inplace editor

Hello Pieter,
It works now, with returnkeyType.NEXT to jump in next column, but the editor still not open, the cell stays in color lightblue, the focused cell.
How to unselect all cells ?? And how to validate all data after reset focus??


In this screenshot you can see the result of press next on virtual keyboard after editing cell[3,2]
The editor does not open, although enterkeydirectedit !

maybe you can help me
thx


And this is the result of choose an item from combobox in column two,
this is not a real validate and end input.
if i would now calculate, some data, the last inputdata will be missed.
And it also looks not pretty if always the last cell is marked,
Is there a way to make a full close up ?

thx !

I'll investigate asap.

no problem, i have time.
because its little confusing and not clear i want detail little, what i found.

  • Returnkey.next jumps in next cell, you need not enter key handling in tms code, but the next editor does not open also with enterkeydirectedit.
  • if choose combo item, the editor did not close full, the OnAfterCloseInplaceEditor is not fired. i made combocode in onselectcell not in GetInplaceEditorProperties, maybe thats a reason
  • The text of a selected cell always jumps to left, also if editor is not open.

When setting the ReturnKeyType to TReturnKeyType.Next what is actually happening is a TAB key
You can use TMSFNCDataGrid1.Options.Keyboard.TabKeyDirectEdit := True; to handle this