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
168
Problem using ultraGridDocumentExporter while exporting a grouped grid
posted

Hi,

using ultraGridDocumentExporter with a grid containing groups fails with "Object not set to an instance of an object." error message. It's probably a bug so my intent was to disable this kind of export as soon as user groups the grid data.

 I can not find, however, any way to check the grid contents has been gropued or not at runtime. Any idea?

I'm running the 2008 suite with the latest HotFix.

Thanks

 

Parents
  • 469350
    Verified Answer
    Offline posted

    I'm not aware of any bugs like this. Are you sure it's not something in your code that is null? What's the call stack look like? Where is the exception occurring? Have you reported this to Infragistics Developer Support? 

    You can determine if any columns are grouped by looping through the SortedColumns collection on the band and checking the IsGroupBy property on each column to see if any of them are true.

    You could also check something like grid.Rows.IsGroupByRowsCollection to see if the root level is grouped.

Reply Children
No Data