This question is locked. New answers and comments are not allowed.
Hi,
I'm using PropertyRelations to bind a hierarchical grid. This all works fine, except if the collection that the child grid binds to is empty. In this case, the + symbol is still shown, and on expanding the parent row a very large empty grid is shown within. What I need is for the + symbol not to be displayed when the collection is empty.
I've tried trapping TableDefinition.PreviewDataRecordCreate to see if I can set IsExpandableRecord, but this event doesn't seem to be thrown when using PropertyRelations.
Please advise how I can do this.
Let me know if you need a sample project or more details. This is the last issue outstanding, and I should be placing an order if you can get this one resolved.
Thanks,
Ben Jackson
BlueHub Solutions
I'm using PropertyRelations to bind a hierarchical grid. This all works fine, except if the collection that the child grid binds to is empty. In this case, the + symbol is still shown, and on expanding the parent row a very large empty grid is shown within. What I need is for the + symbol not to be displayed when the collection is empty.
I've tried trapping TableDefinition.PreviewDataRecordCreate to see if I can set IsExpandableRecord, but this event doesn't seem to be thrown when using PropertyRelations.
Please advise how I can do this.
Let me know if you need a sample project or more details. This is the last issue outstanding, and I should be placing an order if you can get this one resolved.
Thanks,
Ben Jackson
BlueHub Solutions