Re: [xwiki-users] Pagination macro with sortable table

2011-01-17 Thread tomasg
Hi, I tried to change code of DeletedDocuments to display my own data from external mysql db. When I write my own code table does not show data. JSON results are valid, I tested them on http://www.jsonlint.com/. Number of total rows are displayed correctly, but there are no data. I tried many

Re: [xwiki-users] Pagination macro with sortable table

2010-12-03 Thread Sergiu Dumitriu
On 11/30/2010 10:39 PM, Tomas Grunt wrote: And could I use there data from MySQL db through sql plugin? I have looked for this usage but did not find it. Yes, as long as you provide your custom results page. You can adapt, for example, XWiki.AllAttachmentsResults or XWiki.DeletedDocuments.

[xwiki-users] Pagination macro with sortable table

2010-11-30 Thread tomasg
Hello, I would like to know whether is possible refresh table data when I change column for sorting. Now, when I click to sort by some column, table is sorted with actual table data, not with all data. I expect that is needed to add order by to sql query, but what else should I add? If this is

Re: [xwiki-users] Pagination macro with sortable table

2010-11-30 Thread Jerome Velociter
Hello tomasg, If you want to have dynamic sorting and filtering, you should rather use the LiveTable component/macro Checkout : * http://code.xwiki.org/xwiki/bin/view/Macros/LiveTableMacro * http://platform.xwiki.org/xwiki/bin/view/DevGuide/LiveTable Cheers, Jérôme On Tue, Nov 30, 2010 at 1:17

Re: [xwiki-users] Pagination macro with sortable table

2010-11-30 Thread Tomas Grunt
And could I use there data from MySQL db through sql plugin? I have looked for this usage but did not find it. 2010/11/30 Jerome Velociter jer...@xwiki.com Hello tomasg, If you want to have dynamic sorting and filtering, you should rather use the LiveTable component/macro Checkout : *