Mehmet Emin Posted November 25, 2019 Share Posted November 25, 2019 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. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 26, 2019 Share Posted November 26, 2019 5 hours ago, Mehmet Emin said: When I create this frame, form UI and grids fails to display data (some columns missing, menus not visible etc.) Hi, How can we reproduce this issue? Can you make a simple testcase for this? Quote Link to comment Share on other sites More sharing options...
Mehmet Emin Posted November 26, 2019 Author Share Posted November 26, 2019 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.