Hello,
I'm attempting to create a hierarchical igGrid which at some level has 2 sub bands. Now I would like to only show the bands which actually contain records. When both sub-bands have no records, nothing is shown, but when one of them has, both are shown.
In attachment you will find a picture, how can I hide the part that is displayed in yellow ? I've looked trough the options, but couldn't find what I was looking for.
Kind regards,
Michael
Thank you too Michael!
Please feel free to let me know if a question about our tool set comes up on your mind.
Hello Boris,
This is unfortunate, but thanks for the information.
Hello Michael,
After taking some time to research this, it was determined that this is an expected behavior since those columns are defined in the datasource and therefore they should be shown by the grid, no matter if there are any records or not. This is valid for the MVC wrapper, since it serializes those objects. If the parent band has any records that are not null, it shows all the child defined columns.
Thank you! I was just able to run your project and I am going to review it. I saw that the behavior that you were describing is present so I will need some time to dig into this.
Thank you for your patience and understanding!
In attachment you will find an example.
The example datasource is a list of contacts, with 2 sublists: "contact data" and "obsolete contact data". Now I want only those sublists to show that actually have records. And as you can see in the example, for all rows both sublists are shown. The rows that don't have records in both the sublists are shown correcly.