Jump to content

Multiple TUniDBGrids sharing a single TDataSource/TDataset


Mehmet Emin

Recommended Posts

Hi,

I've two TUniDBGrids on the same frame sharing a single TDataSource/TDataset.

When I create this frame, form UI and grids fails to display data (some columns missing, menus not visible etc.)

Is it possible to share a single tdataset between two visible TUniDBGrids on the same form/frame?

thanks.

Link to comment
Share on other sites

Hi,

I tried to replicate this problem with one of the data bound demos of uniGUI but could not get the error that I see in my project.

In my project I have inherited frames with TUniDBGrids on them and instantinate these frames based on menu actions so it is a little different then uniGUI demo I tried.

I am sure I have isolated the problem that this happens when I share one datasource between two grids. My current workaround is to copy first dataset to memtable for the second grid.

Anyway I will try to build a testcase or isolate that part of the project and send it to you.

 

Link to comment
Share on other sites

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...