How to add column filters to a tr:table in trinidad?

I have developed an application using JSF + trinidad.
I need to add column filters to a table which is developed using <tr:table> </tr:table> tags.Colum data are of type text, date, select fielld.

I know that this can be very easily achieved using primefaces


Can anyone of you suggest me with sample running code?