tapestry-Jquery datatables rowclick event

2013-05-16 Thread Tom Nys
Hi there

I'm using the datatables component from tapestry5-Jquery but I can't find a way 
to trigger a tapestry event when clicked on a row.

Is there a plugin that will do this? or what should i do to get this to work?

Greets
Tom

Re: tapestry-Jquery datatables rowclick event

2013-05-16 Thread Emmanuel DEMEY
It is not out of the box. But you can maybe create a mixin used with the
DataTable. Here a sample : http://datatables.net/forums/discussion/1838/x


2013/5/16 Tom Nys runesmac...@hotmail.com

 Hi there

 I'm using the datatables component from tapestry5-Jquery but I can't find
 a way to trigger a tapestry event when clicked on a row.

 Is there a plugin that will do this? or what should i do to get this to
 work?

 Greets
 Tom




-- 
Emmanuel DEMEY
Ingénieur Etude et Développement
ATOS Worldline
+33 (0)6 47 47 42 02
demey.emman...@gmail.com
http://emmanueldemey.fr/

Twitter : @EmmanuelDemey


Re: tapestry-Jquery datatables rowclick event

2013-05-16 Thread Lance Java
I've not used the jquery datatable but have solved this problem with the
grid here: http://tapestry-stitch.uklance.cloudbees.net/griddecoratordemo

If it's not supported out of the box with datagrid, you could do something
similar (perhaps adding a data- attribute to each row).


Re: tapestry-Jquery datatables rowclick event

2013-05-16 Thread Barry Books
I suspect you can do this with the jQuery bind mixin. It binds jQuery
events to Tapestry event handlers


On Thu, May 16, 2013 at 7:47 AM, Lance Java lance.j...@googlemail.comwrote:

 I've not used the jquery datatable but have solved this problem with the
 grid here: http://tapestry-stitch.uklance.cloudbees.net/griddecoratordemo

 If it's not supported out of the box with datagrid, you could do something
 similar (perhaps adding a data- attribute to each row).