Re: Filtering data in DataTable

2008-12-22 Thread Michael O'Cleirigh

Hello,

I don't know of any stock component that does this but it should be 
straight forward to create a component that supports it.


What I'd do for this case is create a text field for the value input, 
drop down choice for the less than, greater than and equals options.


The model containing the values for these fields would be passed into 
the IDataProvider of the table which could handler the filtering.


As for placement you might be able to bind them onto a toolbar on the 
data table.


Mike

Is there a way to create filter for numeric types in DataTable column that
would allow user to enter/choose value for filter state object and choose if
values selected to be shown in DataTable should be bigger, lesser or equal
to the entered/chosen value?

I'd really appreciate any help
Best regards and merry x-mas :-)
  



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



Re: Filtering data in DataTable

2008-12-22 Thread Erik van Oosten

Mike,

The phonebook example from wicket-stuff (currently down?) shows how to 
use the wicket-extra filters.


Regards,
   Erik.


Mike wrote:
Is there a way to create filter for numeric types in DataTable column 
that
would allow user to enter/choose value for filter state object and 
choose if
values selected to be shown in DataTable should be bigger, lesser or 
equal
to the entered/chosen value?   



--
Erik van Oosten
http://day-to-day-stuff.blogspot.com/



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



Filtering data in DataTable

2008-12-21 Thread legen_dary

Is there a way to create filter for numeric types in DataTable column that
would allow user to enter/choose value for filter state object and choose if
values selected to be shown in DataTable should be bigger, lesser or equal
to the entered/chosen value?

I'd really appreciate any help
Best regards and merry x-mas :-)
-- 
View this message in context: 
http://www.nabble.com/Filtering-data-in-DataTable-tp21116854p21116854.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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