It seems that when we upgraded from 10.2 to 11.2, indentation on groups has broken. The default Excel export when you have groups in a grid is for each group to indent by one cell. This ruins our layout, so we set band.Indentation = 0 on each band in the ExportStartedEventArgs Layout collection. This worked fine when we were on 10.2, but the setting seems to be ignored in 11.2. Has this functionality changed, or is this a bug that has been introduced?Thanks,Campbell
Ok, please try the following attachment. I am using latest 11.2 DLLs (11.2.20112.1010). If you remove the References, then add 10.2 DLLs (I was using 10.2.20102.2064) then you should see a difference in the indentation.
Hello jcwild,
I must have messed up the steps or something like that because I was not able to reproduce this. Could you please attach the mentioned sample and also tell me what version of 10.2 are you using exactly?
I will wait for your feedback.
Sorry, I should have said add a sorted column with groupBy set to True.
Hi Boris,I can verify that it is indeed a problem with the grid, and the functionality has changed between 10.2 and 11.2. The issue is actually around groups rather than multiple bands, so your sample does not demonstrate the problem.To demonstrate the issue, create a single column of data, then add a sorted column to the band on this column. When you export, you should see that in 10.2 the indentation is suppressed if and only if you have set band.Indentation to 0. In 11.2 the indentation occurs regardless of this setting.
If you are not able to reproduce from the above I will attach a sample.
Thanks,Campbell
Hello jcwild, I am checking about the progress of this issue. Please let me know If you need any further assistance on this.