sDom injection and bServeSide processing
sDom injection and bServeSide processing
Hi,
I'm fighting with the problem injecting my own toolbar via sDom variable as explained in the documentation. My sDom string looks like:
[code]"sDom": 'lT<"#rechnung_liste_toolbar">frtip',[/code]
And I can see the div element with the id rendered properly but if I want to access it via jQuery selector like this (code below datatables initialization):
[code]$('#rechnung_liste_toolbar').html('Toolbar');[/code]
The new html content is not set. I used firebug to find the problem and figured out that when i set a breakpoint at the line above, the right content (Toolbar
I'm fighting with the problem injecting my own toolbar via sDom variable as explained in the documentation. My sDom string looks like:
[code]"sDom": 'lT<"#rechnung_liste_toolbar">frtip',[/code]
And I can see the div element with the id rendered properly but if I want to access it via jQuery selector like this (code below datatables initialization):
[code]$('#rechnung_liste_toolbar').html('Toolbar');[/code]
The new html content is not set. I used firebug to find the problem and figured out that when i set a breakpoint at the line above, the right content (Toolbar
This discussion has been closed.
Replies
Allan
I was allready searching for an function like this but couldn't find it.
Thanks again,
Max