Custom Tool

Custom Tool

wathertonwatherton Posts: 33Questions: 6Answers: 0
edited September 2015 in DataTables 1.10

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.

http://debug.datatables.net/uboput

This question has an accepted answers - jump to answer

Answers

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

    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

  • wathertonwatherton Posts: 33Questions: 6Answers: 0

    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)

  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395
  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin

    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

  • wathertonwatherton Posts: 33Questions: 6Answers: 0

    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.

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Answer ✓

    As in the search input? No that should work out of the box as you can see in the examples on this site.

    Allan

This discussion has been closed.