Jump to content

navigation in dbgrid with editing


Stemon63

Recommended Posts

I need to navigate in a dbgrid with arrows simulating the behavior of the tab.
But also during editing. I want to use arrows (or Enter) like Tab key does for change field, without pressing Enter only for finish editing.
The same od stardard VCL DBgrid: I press any key to start editing and Enter (or tab, or up/down arrow keys) for  close editing and move to next field.
How obtain this? Very important for massive data input.

This is a similar  extjs example:  https://fiddle.sencha.com/#fiddle/ron&view/editor


How do I make it in unigui?
Attention: I need to start editing only when I press a first char of editing value, not always.
Thanks in advance!

 

  • Like 1
  • Upvote 1
Link to comment
Share on other sites

  • 2 weeks later...

At least, I need to start editing with any pressed char (starting input value).... and finish editing with enter, tab, or up-down keys, passing in browse mode.

When press enter ot tab, it close editor and move to next cell, when press up-down keys it close editor and move to  prior-next row.

So user can navigate into grid with arrow keys (in browse mode) and edit without effort, like standard VCL dbGrid.

Thanks, 

Link to comment
Share on other sites

  • 3 weeks later...
  • 10 months later...
×
×
  • Create New...