initiate a ui-dialog
initiate a ui-dialog
Hello there,
I am trying to initiate a ui-dialog by clicking a link in my datatable. Creating a datatable in a dialog works fine.
If i put the initialisation link in the "normal" html page it works and the dialog opens, but when i try to put the same link into a table-row or in hidden-details nothing happens. I use serverside processing.
Is this a known issue?Is there a workaround available to get it running? Or am I just too stupid?!
Sorry for my bad english, hope you understand my prob.
Greetz from Germany
tombopp
I am trying to initiate a ui-dialog by clicking a link in my datatable. Creating a datatable in a dialog works fine.
If i put the initialisation link in the "normal" html page it works and the dialog opens, but when i try to put the same link into a table-row or in hidden-details nothing happens. I use serverside processing.
Is this a known issue?Is there a workaround available to get it running? Or am I just too stupid?!
Sorry for my bad english, hope you understand my prob.
Greetz from Germany
tombopp
This discussion has been closed.
Replies
How are you adding the event handler? DataTables will create new nodes for the data which comes back when using server-side processing, so you need to use fnDrawCallback to add the event handlers.
See the "My events aren't being applied" question in the "Server-side processing" section of the FAQs: http://datatables.net/faqs . Visual Event is really good to see if the events have been applied or not.
Regards,
Allan
I got it....the magic words are "event handler"....
Sorry for wasting your time and thank you for the hint.