Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82607

How to make a custom button behave like built-in buttons?

$
0
0

If a row is selected then my button is enabled and vice versa. I don't want to catch select.dt/deselect.dt and control reload and filter. I want to use behavior of built-in buttons)

The only thing I could come up with: { text: 'My button', extend: 'edit', action: function( e, dt, node, config ) {} } but I'm not sure this is a right way to use ...


Viewing all articles
Browse latest Browse all 82607

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>