Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
510
Presentation related table info in the same line in the an UltraGrid
posted

I have a data source with related tables.

In the presentation of the data in the UltraGrid I would like then to see them on the same line.

for example I have article assortment lines with a related one article, one related product form and one related packing size.

In the UltraGrid it is displayed based on the data source definition:

One assortment article line with 3 sub lines for the article, the product form and the packing size.

How can I adjust this so the grid shows one line for this and the some fields from the article, the product form and the packing size are visually integrated in the article assortment line?

For updated of this line the article, Product form and packing size should become select-able from the related sub tables?

Who can help me on this?

Kind regards,

Peter Wokke

 

Parents
  • 12480
    Suggested Answer
    Offline posted

    Hi Peter,

    There are two ways that you can accomplish this. The first is to create a custom view in your data and binding to that view. This is probably the easiest way and I recommend taking this approach.

    If you can't touch the data source directly, you can use unbound columns to create the effect of a custom view. Add an unbound column for each field that you want to add, then loop through the grid's rows and look up the data in your data source. I have included a sample that demonstrates how you can set this up.

    DataTableCustomView.zip
Reply Children