Oct 04, 2016, 8:22 AM
[CLOSED] Cloning store or executing store proxy without modifying store data
Hello
Let's start with this example as it is https://examples4.ext.net/#/GridPane.../DirectMethod/
now I would like to add button that would execute Ajax ( diret) request and return me all the data from the server ( means all pages),
and in the same time grid will stay as it is ( so still paged). Is something like that possible?
Motivation behind - Exporting to excel ( yes I know you have samples for that but they do not follow client side columns format)
I have a function that send column model and grid data to the server. Based on this information it relativelly inteligently ( sure limitations present) export the same data to excel as client see (so for example dates are formated as dates, numbers as numbers according Format property of column etc.) Now my last problem - if grid is paged I do not have all the data on client. My Users would like to see all pages in export (they are fine to wait for that).
Ideally if I can clone grid store, execute it's load method, load all pages, execute my export functionality.
Alternativelly from store proxy retrieve (asychronously ) data
Is somethign like that doable?
Thanks
Zdenek
Let's start with this example as it is https://examples4.ext.net/#/GridPane.../DirectMethod/
now I would like to add button that would execute Ajax ( diret) request and return me all the data from the server ( means all pages),
and in the same time grid will stay as it is ( so still paged). Is something like that possible?
Motivation behind - Exporting to excel ( yes I know you have samples for that but they do not follow client side columns format)
I have a function that send column model and grid data to the server. Based on this information it relativelly inteligently ( sure limitations present) export the same data to excel as client see (so for example dates are formated as dates, numbers as numbers according Format property of column etc.) Now my last problem - if grid is paged I do not have all the data on client. My Users would like to see all pages in export (they are fine to wait for that).
Ideally if I can clone grid store, execute it's load method, load all pages, execute my export functionality.
Alternativelly from store proxy retrieve (asychronously ) data
Is somethign like that doable?
Thanks
Zdenek
Last edited by fabricio.murta; Oct 05, 2016 at 8:48 PM.