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
920
Exporting to excel
posted

Hi,

    I have a hierarchical xamdatagrid and to export only the top level, I am handling InitializeRecord event and do a SkipRecord on child records. The export works fine but there is one weird thing that I dont want to see. After the export, the exported excel file has a + only for the last record. When I click on it, there are no child records but there is just a "."? How do I get rid of this weird behavior?

Thanks,

LA

  • 3520
    Verified Answer
    Offline posted

    Hello Lalasa,

     

    What I can suggest is using the SkipDescendants property of the top level records instead of SkipRecord property which does not affect descendant or sibling records. I implemented this approach in the sample application I am attaching for your reference.

     

    If you need any further assistance on the matter, please do not hesitate to let us know.

    IgDataPresenterHierarchyExport.zip