initiate a ui-dialog

initiate a ui-dialog

tombopptombopp Posts: 4Questions: 0Answers: 0
edited January 2010 in General
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

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Hi tombopp,

    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
  • tombopptombopp Posts: 4Questions: 0Answers: 0
    Hi Allan,

    I got it....the magic words are "event handler"....

    Sorry for wasting your time and thank you for the hint.
This discussion has been closed.