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
9364
Band and all sub-band should export
posted
Via context menu, user will be to export to Excel all sub-bands inside a band. 
Depending on where the context menu is opened would decide which band and sub-bands would be exported.
I am not sure how to make this happen. I see two threads which seem to answer but not quite.
http://forums.infragistics.com/forums/p/11122/57813.aspx#57813
http://forums.infragistics.com/forums/p/8788/34536.aspx#34536
Can you modify code from the most relavant thread and show me how to make the band and sub-bands export?
Thanks!
Parents
  • 469350
    Suggested Answer
    Offline posted

    I'm not sure what you mean by exporting a band and sub-bands. It think this might just be a problem of terminology.

    There's no way to export a child row without it's parent row. Or at least, no easy way without writing a lot of code to modify the export using the events of the UltraGridExporter.

    If you want to export a single row and all it's children, and the row in question is a root-level row, then this would be fairly easy. You just have to keep track of the row and then use the InitializeLayout event on the UltraGridExcelExporter to hide every parent row that is not the one you want.

     

Reply Children