I'm currently building a grid that display's orders, and orderlines in a subgrid. I'd like to provide the functionality to export the grid to csv, pdf, and so on, but i want to set it up in such a way that the grid only exports the mastertableview, not the detailtables.
I tried using the HierarchyDefaultExpanded property, but it didn't work out. Also i tried saving the DetailTables-collection in a variable, clearing the collection in the grid, and then exporting. That works, but i just can't seem to get the DetailTables back into the grid afterwards.
I've been looking into this for the better part of the day, and i figured someone must have encountered this problem before, Any and all tips and suggestions will be welcomed.
Thanks in advance!
I tried using the HierarchyDefaultExpanded property, but it didn't work out. Also i tried saving the DetailTables-collection in a variable, clearing the collection in the grid, and then exporting. That works, but i just can't seem to get the DetailTables back into the grid afterwards.
I've been looking into this for the better part of the day, and i figured someone must have encountered this problem before, Any and all tips and suggestions will be welcomed.
Thanks in advance!