Hi -
I have a grid which gets it's data from a Web API let's .../api/services/app/GetVendors. Now it returns let's say 50 records when I send a request with page size and it renders to the grid. All works fine.
Now I want to add a button called "Export To Excel" which will consume the same API and return all the vendors which I can do it by sending page size as -1. This is fine as well.
But what I need is to able to specify the formatted output for the API which could be json or XM whil accessing the API.
My plan is use the below link which returns an excel from teh WebAPI by formatting the output .
<a class="postlink" href="http://webapicontrib.github.io/WebApiContrib.Formatting.Xlsx/">http://webapicontrib.github.io/WebApiCo ... ting.Xlsx/</a>
5 Answer(s)
-
0
Hi,
Thanks for sharing this idea. We will try this soon and let you know if this is possible for now or not with the current version of ABP.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Awesome. Looking forward to it !!!
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Any updates ?
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Hi,
We didn't have time to try this, I will try to do it tomorrow.
Thanks.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Did you get a chance to try ?
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)