Hi
I'm using JSF1.2 and IBM websphere portal 7 (Core) not prime or rich faces. I would like to know to sort the JSF data table(<h:datatable /> using Jquery 1.7
Hi :
I'm able to do sorting using java util Comparator in managed bean but I'm wondering is it possible to do using jquery or java script or client side scripts?
if yes, any example is highly appreciated
Technically you could use Javascript to sort the table client-side, but it would probably result in something really baroque and unreliable. The JSF and JavaScript mechanisms can work together - a lot of the extension tagsets use jQuery - but only if you really know what you are doing.
It's simpler to sort the DataModel that's backing the dataTable. You can do that with an AJAX request if you like.
Education won't help those who are proudly and willfully ignorant. They'll literally rather die before changing.
CLUCK LIKE A CHICKEN! Now look at this tiny ad:
Gift giving made easy with the permaculture playing cards