Using exactly the code listed there, my "custom tool bar!" text isn't showing up in my table (but it does showup, just nowhere near the table). My code looks like this:
<div class="toolbar">
</div>
<script type="text/javascript" language="JavaScript">
var oTable;
It probably just needs styling I would imagine - unless you have another DIV with a class of toolbar somewhere - it would be appended to the last node found in the DOM. $('div.toolbar') on the console would be a way to find that out.
Thank you Allan for your response. I changed my class to "toolbarBunny" and I'm positive it's not being used elsewhere in the document. I still however am not able to bring my "Custom tool bar! Text/images etc." near my datatable.
When you say it probably just needs styling, do I need to add additional CSS manually to move it into the table? I was thinking it's a problem with my sDom notation. I would have thought the "<"toolbarBunny">fr>" part would indiciate that toolbarBunny should be part of the filtering input section? I guess I'm just still fuzzy on how to add things to the search header.
I think we're getting closer :) ... So using that exact sDom declaration you posted above: <"toolbarBunny"fr>
I still don't see my "Custom tool bar" text. However, using Firebug I DO see a div created that has a class of "toolbarBunny"--and it is correctly inside the _wrapper div. It just doesn't have any custom text inside it:
I guess I would have expected the "custom tool bar" text inside the "toolbarBunny" div, just above the _filter div. It's almost as if this line didn't work: