Re: Filtering capabilities in TH (Array Header) or for dataview.

2016-02-28 Thread Per Newgro

Maybe you can use
org.apache.wicket.extensions.markup.html.repeater.data.table.filter.FilterToolbar

You need to provide your column definitions as IFilteredColumn in your 
DataTable.

The rest will be done by html markup.

It's in wicket-extension library.

Cheers
Per

Am 26.02.2016 um 23:34 schrieb andre seame:

Hello

The DataTableFilterToolbarPage demonstrates the capability of filtering dates 
for a Datatable. Great.

I would like to have an array of . Column 1 and 2 are 
sortable (ASC or DESC). Column 3 and 4 (the dates) are sortable and filterable.

I would like to have a different presentation as DataTableFilterToolbarPage 
does. Instead of having the forms for filtering outside the table, I would like 
to include it into the TH.

 int

 String

 date1  .. 

 date2  .. 

In this case the user will type the filtering condition in the header of the 
column Date1 or Date2.

So questions are:

   *   Is it possible to add filtering capabilities to a dataview? If Yes, I 
can access to the TH cell and had the form information.

   *   Is it possible to modify the content of the cell th Date1 to add the 
form information.

Thanks,

PHL





-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Filtering capabilities in TH (Array Header) or for dataview.

2016-02-26 Thread andre seame
Hello

The DataTableFilterToolbarPage demonstrates the capability of filtering dates 
for a Datatable. Great.

I would like to have an array of . Column 1 and 2 are 
sortable (ASC or DESC). Column 3 and 4 (the dates) are sortable and filterable.

I would like to have a different presentation as DataTableFilterToolbarPage 
does. Instead of having the forms for filtering outside the table, I would like 
to include it into the TH.

 int

 String

 date1  .. 

 date2  .. 

In this case the user will type the filtering condition in the header of the 
column Date1 or Date2.

So questions are:

  *   Is it possible to add filtering capabilities to a dataview? If Yes, I can 
access to the TH cell and had the form information.

  *   Is it possible to modify the content of the cell th Date1 to add the form 
information.

Thanks,

PHL