ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
Exporting multiple grids to excel format
Title:
B
I
{code}
?
Hi, I have multiple grids with same structure and they contain grouped data in them. I wanted to create an excel where all those grids will come with a separation of one row and the grouping will also be visible. How can I do this with using your provided export to excel demo.
Save Changes
Cancel
Sam Mosaic
asked at 14 Oct 2023
do you need the `GridParams` for all 3 grids, so that you can build the grid model according to user changes in the ui (grouping, sorting) ?
at 14 Oct 2023
Omu
I am getting the GridParams for all grids. I just wanted to export all 3 grids in one excel file. which also show the grouping of data rows as we are grouping in grid.
at 14 Oct 2023
Sam Mosaic
the `GridExcelBuilder.Build<T>` in our demo has the `GridModel<T> gridModel` parameter, you could modify it to be a collection and modify the method to repeat the building of excel rows for each gridModel (or add another method for the collection parameter)
at 14 Oct 2023
Omu
Answers
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK