Hello All,
I have a couple of questions
My task is to integrate ignite UI with Tapestry5 web application. In Tapestry I can generate an URL and send it to javascript and tell javascript to call this URL when an event takes place. The URL which responds to this data is something like this "/index.mintignitetable:getSortedData". The absolute URI is http://localhost:8180/index.ignitetable:getdata
How can I call this URL from the grid to get remote sorting facility?
Is it possible to get a working example. With normal Servlet or servlet based frameworks?
Is it necessary for the url to be REST-ful?
Thanks in Advance,
Hi,
Thank you for posting in Infragistics Forums! You can check this document which holds information about binding the grid to different types of data sources. If the Url returns a valid data format (json, xml, etc.) you can set it as dataSource of the grid.
I hope this helps!
Kind regards,
Petko Zhekov
Software Developer
Hi Petko Zhekov,
I am able to bind the data. My problem is the url used to bind the data used for sorting too? I guess from your answer it is yes.
what should be the value/values of sortUrlKey? Is it the same url from which the data was loaded.?
Hello,
I'm just following up to see if you need any further assistance with this issue. If so please let me know.
Kind Regards,
Infragistics, Inc.
The value of sortUrlKey is the parameter that is sent to the server in order to initiate a sorting action. We are using only on “entry point” (URL) for every action(sorting, paging, filtering, etc.). And we are sending this parameter in order to differentiate between the actions. If you have two different URLs for different types of data you can cancel the columnSorting event and change the dataSource of the grid.