This is a migrated thread and some comments may be shown as answers.

SpreadExport with ColumnGroupsView

1 Answer 61 Views
GridView
This is a migrated thread and some comments may be shown as answers.
IT
Top achievements
Rank 1
IT asked on 08 Mar 2016, 04:22 PM

WinForms / VB.net / .NET 4.0 / Visual Studio 2010

I have a gridview which is using ColumnGroupsView to group certain fields, which is all working fine.

However, there is an issue when exporting using the SpreadExport function. If my grid is:

Group 1

---Column 1

---Column 2

---Column 3

Group 2

---Column 4

---Column 5

Group 3

---Column 6

---Column 7

 

When exported, the row with the group names in, has the first 3 cells merged for "Group 1", the next 2 cells merged for "Group 2" and the next 2 cells merged for "Group 3" as you would expect, and each has the relevent columns underneath it.

If you hide a column 3 using the gridview though, then export, the group headers still have the same number of cells merged, which means that under "Group 1" you now see Column 1, Column 2, Column 4. Under "Group 2" you now have Column 5, Column 6. Under "Group 3" you have Column 7 and a blank column.

How can I fix this?

Thanks

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 09 Mar 2016, 12:23 PM
Hi Shane,

Thank you for writing.

I was able to reproduce the observed issue. I have logged it in our Feedback Portal. You can track the item for status changes and add your vote for it here.

Unfortunately due to the nature of the issue I cannot provide you with a workaround for it.

Your Telerik Points have been updated for this report.

Should you have any other questions do not hesitate to ask.


Regards,
Dimitar
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
GridView
Asked by
IT
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or