Jump to content

How to do synchronize unidbgrid with dataset.locate


Freeman35

Recommended Posts

  • 1 month later...

Sorry I been late, I'm investigate more and find bug.

I attached demo.Its from unigui demo. GridGrouping.

I aaded one edit and two buttons. first button event do: close dataset, load data, open dataset then locate. Second button do: locate opened dataset.

My problem is first one. Becaouse, I haveto do this. I have to locate after open dataset, so end user not haveto re locate in grid.

If I'm not wrong, grid not load data so can not locate row. Test in Third button. AfterLoad event using and locate work as expected

 

 

GridGrouping-Locate-problem.7z

Link to comment
Share on other sites

  • 5 weeks later...
On 9/28/2018 at 2:24 PM, Freeman35 said:

Hello,

I wanna selected row in unidbgrid, after add new row to Tdataset. I have primary key and I use TDataset.locate. This is set cursor position on tdataset, but unidbgrid, show first row. I mean TFDDataset.locate not move selected row in unidbgrid.

How to do this?

Thank you.

Hello! Did you find a solution to this problem? I have a similar situation
(google translate)

Link to comment
Share on other sites

  • 9 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...