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
30
UltraGrid Hirarchical View Parent / Child with No Child Rows [Optional]
posted

Hi,

I am trying to display my data in Hierarchical UltraGridView with Parent & Child relationship. The problem is that it may be possible that some Parent Rows do not have Child Rows. Even though, I want to display parent rows with zero child rows.

Currently, my Hierarchical UltraGridView is ignoring those parent rows who do not have child rows.

Is there any way to achieve this or anything using UltraGridView?

Thanks!!!

Parents
  • 22852
    Offline posted

    David,

    What specifically is meant by the UltraGrid is ignoring the parent rows without children?  Do you mean that the parent rows themselves don't show in the grid or do you mean that they are showing the expansion indicator even though there are no children.

    If it is the expansion indicator, set the ShowExpansionIndicator on the Override to be CheckOnDisplay rather than CheckOnExpand which is the default.

    If you are referring to the rows simply not being present, this would be unexpected and you should make sure that those rows exist in the list that you are binding the UltraGrid to.  Or make sure they aren't being filtered out by a query to get your data before binding to the UltraGrid.  If they do exist in the list and aren't showing in the UltraGrid, please provide an example that we can take a look at to see what is happening.

    Let me know if you have any questions with this matter.

Reply Children