Re: [xwiki-users] livetable with static table(like in Table Sorter)
On Feb 22, 2014 2:41 AM, Leonardo Kodato leonardokod...@gmail.com wrote: Hi all. Is it possible to make a livetable with static content like the Table Sorter extension proposes( http://extensions.xwiki.org/xwiki/bin/view/Extension/Table+Sorter)? Yes, it is possible. The live table has a parameter named 'resultPage', see http://extensions.xwiki.org/xwiki/bin/view/Extension/Livetable+Macro#HParameter24options. This page generates the JSON with the live table rows. Using the browser's dev tools you can check the requests made by an existing live table and the produced JSON. Im asking it, because sometimes I just want to order a big static table. I dont want to create a class and set properties just to make a simple filter on the content(like in Excel). You will have to implement pagination, sorting and filtering in the result page if you want them. Unfortunately I don't have an example of a results page that is not based on objects/classes at hand. I'll try to find one. Hope this helps, Marius I've tried to user the Table Sorter extension, but It seems not to be working with Xwiki 5.3(maybe because its deprecated). Thank you =) ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] livetable with static table(like in Table Sorter)
On 22 Feb 2014 at 09:43:22, Marius Dumitru Florea (mariusdumitru.flo...@xwiki.com(mailto:mariusdumitru.flo...@xwiki.com)) wrote: On Feb 22, 2014 2:41 AM, Leonardo Kodato wrote: Hi all. Is it possible to make a livetable with static content like the Table Sorter extension proposes( http://extensions.xwiki.org/xwiki/bin/view/Extension/Table+Sorter)? Yes, it is possible. The live table has a parameter named 'resultPage', see http://extensions.xwiki.org/xwiki/bin/view/Extension/Livetable+Macro#HParameter24options. This page generates the JSON with the live table rows. Using the browser's dev tools you can check the requests made by an existing live table and the produced JSON. Im asking it, because sometimes I just want to order a big static table. I dont want to create a class and set properties just to make a simple filter on the content(like in Excel). You will have to implement pagination, sorting and filtering in the result page if you want them. Unfortunately I don't have an example of a results page that is not based on objects/classes at hand. I'll try to find one. I documented this here: http://extensions.xwiki.org/xwiki/bin/view/Extension/Livetable+Macro#HCustomJSON I also used it for the Link Checker extension: https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-linkchecker/xwiki-platform-linkchecker-ui/src/main/resources/XWiki/ExternalLinksJSON.xml Thanks -Vincent Hope this helps, Marius I've tried to user the Table Sorter extension, but It seems not to be working with Xwiki 5.3(maybe because its deprecated). Thank you =) ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] livetable with static table(like in Table Sorter)
Hi all. Is it possible to make a livetable with static content like the Table Sorter extension proposes( http://extensions.xwiki.org/xwiki/bin/view/Extension/Table+Sorter)? Im asking it, because sometimes I just want to order a big static table. I dont want to create a class and set properties just to make a simple filter on the content(like in Excel). I've tried to user the Table Sorter extension, but It seems not to be working with Xwiki 5.3(maybe because its deprecated). Thank you =) ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users