On 06/30/2010 11:56 AM, Aleks87 wrote:
I have to choose between the normal Table and the Livetable.
I like the possibility to make select boxes with the normal table (using:
class="unsortable selectFilter")
But I have problems with the filtering. If I add pagination and use the
filter field he shows me only the results of the current page.
Livetable finds all pages but I can't make such Filter-Boxes.
Please tell me if I did something wrong with the normal table!
The FilterableSortable behavior is just a javascript improvement of
existing HTML tables, it does not do any actual data fetch from the
server, so it will never be able to go beyond the already displayed
data. This means that you can't use pagination and FilterableSortable.
But the Livetable does support filters, are you sure you read the
documentation on
http://code.xwiki.org/xwiki/bin/Macros/LiveTableMacro ?
There's a "filterable" option for the $columnProperties parameter.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/