andyhill Posted March 18, 2023 Share Posted March 18, 2023 I have a need to show Master Data (datasource1) with Detail (datasource2) in the same grid with Expanding/Collapsing nodes to reveal the datasource2 data that is linked to datasource1. I tried Grouping - not ideal, looked at twin grids option - not ideal, could not find Demo Example. Please advise how (project example would be ideal) - Thanks Quote Link to comment Share on other sites More sharing options...
andyhill Posted March 19, 2023 Author Share Posted March 19, 2023 Sherzod, can you please comment. Quote Link to comment Share on other sites More sharing options...
andyhill Posted March 20, 2023 Author Share Posted March 20, 2023 Sherzod, this is really important for me, have I missed something ? Can you please show me how to use a single grid with two datasources (Master / Detail) using expanding / collapsing nodes. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 20, 2023 Share Posted March 20, 2023 If I understand you correctly, use combined queries. Quote Link to comment Share on other sites More sharing options...
Tokay Posted March 20, 2023 Share Posted March 20, 2023 31 minutes ago, andyhill said: Sherzod, this is really important for me, have I missed something ? Can you please show me how to use a single grid with two datasources (Master / Detail) using expanding / collapsing nodes. I think that you can post a screenshot what are you looking for. Quote Link to comment Share on other sites More sharing options...
andyhill Posted March 20, 2023 Author Share Posted March 20, 2023 Master Detail refers to a top level grid called a Master Grid having rows that expand. When the row is expanded, a sub grid is displayed with more details related to the expanded row. The sub grid that appears is known as the Detail Grid. I have no issues with datasource queries, datasource1=Master, datasource2=Detail (linked via MasterID). Quote Link to comment Share on other sites More sharing options...
andyhill Posted March 21, 2023 Author Share Posted March 21, 2023 Any progress Sherzod ? Quote Link to comment Share on other sites More sharing options...
Eugeniusz Rink Posted March 21, 2023 Share Posted March 21, 2023 On 3/18/2023 at 9:11 PM, andyhill said: I have a need to show Master Data (datasource1) with Detail (datasource2) in the same grid with Expanding/Collapsing nodes to reveal the datasource2 data that is linked to datasource1. I tried Grouping - not ideal, looked at twin grids option - not ideal, could not find Demo Example. Please advise how (project example would be ideal) - Thanks I use UniDBTreeGrid. It shows the master-detail relationship nicely, but it has a problem with sorting and I stopped with the project. Quote Link to comment Share on other sites More sharing options...
andyhill Posted March 22, 2023 Author Share Posted March 22, 2023 Eugeniusz Rink, I appreciate your comment but it is not the desired Master / Detail Grid that I am after. A Master/Detail Grid is a very common implementation for visualizing data, we really need a Sencha (UniGUI) version. Please Sherzod can you look at this. Quote Link to comment Share on other sites More sharing options...
Eugeniusz Rink Posted March 22, 2023 Share Posted March 22, 2023 4 hours ago, andyhill said: Eugeniusz Rink, I appreciate your comment but it is not the desired Master / Detail Grid that I am after. A Master/Detail Grid is a very common implementation for visualizing data, we really need a Sencha (UniGUI) version. Please Sherzod can you look at this. Hi. If you are talking about the master-detail layout as shown in the screenshot, you can take a look at the demo: C:\Program Files (x86)\FMSoft\Framework\uniGUI\Demos\Desktop\Grid - RowWidget Or at: http://prime.fmsoft.net/demo/desktop/mdemo.dll e section Grids->Row Widget. However, this is an inefficient presentation to the user. The best solution is the Tree format. But that's my opinion. Quote Link to comment Share on other sites More sharing options...
andyhill Posted March 22, 2023 Author Share Posted March 22, 2023 Yes, much more what I am after. Can the row widget handle a Nav Bar for the Detail Data (Add/Edit/Delete) etc. ? Quote Link to comment Share on other sites More sharing options...
Eugeniusz Rink Posted March 22, 2023 Share Posted March 22, 2023 25 minutes ago, andyhill said: Yes, much more what I am after. Can the row widget handle a Nav Bar for the Detail Data (Add/Edit/Delete) etc. ? Of course. It is used as a frame. See the example I gave you. Quote Link to comment Share on other sites More sharing options...
andyhill Posted March 22, 2023 Author Share Posted March 22, 2023 Yes, simulates Master / Detail - Thanks for the tip. Quote Link to comment Share on other sites More sharing options...
NizamUlMulk Posted April 19, 2023 Share Posted April 19, 2023 On 3/22/2023 at 3:22 AM, Eugeniusz Rink said: Hi. If you are talking about the master-detail layout as shown in the screenshot, you can take a look at the demo: C:\Program Files (x86)\FMSoft\Framework\uniGUI\Demos\Desktop\Grid - RowWidget Or at: http://prime.fmsoft.net/demo/desktop/mdemo.dll e section Grids->Row Widget. However, this is an inefficient presentation to the user. The best solution is the Tree format. But that's my opinion. Hi. I've 1.50.0.1482 version. How can I do master-detail as show in "row widget"?... There isn't aGrid - RowWidget between my demos 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.