Hi devs,

I’ve noticed that users often try to make simple tables filterable/sortable. 
And LT are too complex for simple tables.

Actually we do implement the feature already in xwiki-platform 
(tablefilterNsort.js.js + icons) but we don’t make it easy for users to use it.

Right now a user has to know the magic incantation. They can find the doc here:
* 
http://extensions.xwiki.org/xwiki/bin/view/XWiki/XWikiSyntax?syntax=2.1&section=Tables&xpage=print
* http://snippets.xwiki.org/xwiki/bin/view/Extension/Table+Sorter

What I’d like to propose is to

1/ Include a new core macro in xwiki-platform that would allow to 
transformation a table into a sortable/filterable table, as it’s done by 
http://extensions.xwiki.org/xwiki/bin/view/Extension/Make+All+Wiki+Tables+Sortable+Macro:

{{table [sort="true|false" filter="true|false” oddEven=“true|false”}}
|=heading1|=heading2
|cell1|cell2
{{/table}}}

2/ In the CKEditor UI when inserting a table, offer several checkboxes for 
Sortable, Filterable, OddEven and have the WYSIWYG editor insert this table 
macro when checked.

My rationale for wanting to include it is because I consider this to be a basic 
use case (core use case) that would benefit from being by default in any flavor 
of XWiki.

WDYT?

Note that if we should not agree to have it by default then it also doesn’t 
make sense to have tablefilterNsort.js in xwiki-platform IMO.

Thanks
-Vincent

_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to