How do you change the drop down animation speed for DataTables buttons
How do you change the drop down animation speed for DataTables buttons

The default animation speed for DataTables drop down buttons (ie colvis and pageLength) is quite slow. Is there any way to alter this animation speed so it comes up faster? I tried using CSS to do this via by using transition-duration: 0.1s;
, but this caused the drop down to transition in quickly, then resume fading in like normal after that (via JS I would assume, since this didn't actually overwrite it).
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Use the
fade
property of the thecollection
(whichcolvis
andpageLength
both inherit from). It is measured in milliseconds.Allan