TWebDBGrid, editable, insert

Dear Sirs,

TMS Web Core
RAD Studio Sydney (Delphi 10.4 Version 27.0.38860.1461)

we noticed a problem using TWebDBGrid in editable mode. See attached project: (325.6 KB)

  1. Run project
  2. Click button + (Insert) on navigator
  3. Click on the first cell of the new row
    a. LOldRow is already at the proper dataset cursor location so it makes no sense to move it.

After the click the wrong record is in edit mode:

Kind regards

Another problem when you press right arrow key when grid is focused. Just run demo.

Demo project attached (336.6 KB)

Uncaught TypeError: Cannot read property 'cells' of undefined | TypeError: Cannot read property 'cells' of undefined at Object.GetCellElements

Other strange behaviours / problems:

  • BeforeScroll events are triggered even if you do not change current record

  • After editing a cell, clicking or moving to other cell in same row scroll event is triggered (and Post). Post should only be triggered when current row is changing and record is in edit or insert mode.This is likely result of dataset row cursor moving each time focused cell is changed.

We traced & solved all reported issues.
This will be addressed in the next update.

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.