JQuery Mobile & DataTables

JQuery Mobile & DataTables

stumacastumaca Posts: 2Questions: 0Answers: 0
edited October 2011 in General
Hi
Has anyone successfully intergrated JQuery Mobile with DataTables? I am trying to render JQM Controls (buttons) inside a DataTable and in other instances of altering the JQuery Mobile DOM you can just use $(this).trigger('create') to render the controls but this doesn't seem to work anyone got a reason why & a suggested fix?

Replies

  • stumacastumaca Posts: 2Questions: 0Answers: 0
    edited October 2011
    Solved my own issue:

    "fnDrawCallback": function() {
    dataTable.trigger('create');
    }

    Wonder has anyone else had any experiences merging the two? good or bad?
  • allanallan Posts: 63,534Questions: 1Answers: 10,475 Site admin
    Thanks for posting your solution :-). I've tried a little bit of integration and the basic ideas seem to work okay, so if you want to use the jQuery Mobile UI options it should work fine.

    Allan
This discussion has been closed.