Closed RasmusBergHogia closed 3 years ago
@RasmusBergHogia yeah what you see in your export is actually normal, there isn't much we can do with that (I also see similar behaviors even in other paid lib like syncfusion grid) and it was also discussed in Angular-Slickgrid in this discussion thread but I'm still waiting for any code to be provided.
Your suggestion to skip these lines might be the only good solution, would you like to provide a PR (Pull Request)?
BTW, the Row Detail plugin is actually how it works, you can provide a custom panelRows
number which will tell the plugin how many rows from the grid we will use. When you open the row detail, you just push the other rows down but in the back they are still just regular rows. The plugin just shows something else on top of these regular rows, so it looks like a row detail panel but in reality it's nothing more than an accumulation of regular rows which we paint something different on top of them.
@ghiscoding I could make a PR on that, but not today for have some other work to be done first.
sure thake your time, that'd be really great to get contributions, it's always welcome š
@RasmusBergHogia I want to push a new release version within the next couple days and so I made the PR with your suggestion, you can take a look at PR #392
@RasmusBergHogia It took me longer than expected but it's finally out for both Slickgrid-Universal and Aurelia-Slickgrid. This new version had a lot of internal changes which took longer and you can see all changes under each respective repo
Always remember to update both side at the same time.
Cheers and thanks for the feedback Happy Coding! ā š
I'm submitting a Bug report
Your Environment
I have test this on Aurelia Slickgrid source code with adding Slickgrid-Universal Excel-Export on example 19.
Added to options:
Describe the Bug
If you expand row details view and then export to excel, you get extra rows in excel document.
Steps to Reproduce
Expected Behavior
You get original (filtered) rows in excel only.
Current Behavior
You get the hidden extra rows which is add for row details views in the excel file.
Rows added (visible by I hide row details view):
Result in excel:
Possible Solution
For some reason the extra rows has what I think empty dataview inside of them:
So one solution could be that ignore items with getItem in them in method pushAllGridRowDataToArray of excelExport.service.ts