Custom Tool
Custom Tool
watherton
Posts: 33Questions: 6Answers: 0
Hi,
trying to create a custom tool, which i've managed to create, but for some reason, my button is greyed out. On close inspection, it looks as if it is being assigned the disabled attribute.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi,
We'd need a link tot he page in question so we can view the actual code in this case I'm afraid. The debugger doesn't say why this is happening.
Allan
Allan, sorry - there was an external JS file disabling the button. Sorted this now.
One follow on question though, is how do I get custom toolbar in the center between the export functions and the number of rows display (I)
Modify the example as required:
https://datatables.net/examples/advanced_init/dom_toolbar.html
You'll need to use some CSS for that. I can't say exactly how to do it without being able to see it, but a float or margin will probably be needed.
Allan
Thanks Allan, I shall look into that.
Is there anything special I need to do to obtain the keyup function of the input control. For some reason, this isnt triggering.
As in the search input? No that should work out of the box as you can see in the examples on this site.
Allan