DataTables / Responsive

Responsive extension for DataTables, providing support for complex tables on all device screen sizes
Other
148 stars 86 forks source link

Add a controlClass parameter #114

Closed tharglet closed 9 months ago

tharglet commented 5 years ago

This is to allow attaching the events of control column to a column of a different class, so you can have the functionality without any CSS that might be included with the bootstrap module.

I'm happy for this code to be licensed under the MIT licence.

DataTables commented 5 years ago

Nice one - thanks for this. It should probably go in the defaults object rather than doing the override though. Do you want to update the pr for that, or I can make the change? I'll add the docs for it as well.

tharglet commented 5 years ago

@DataTables If you're happy to do it, I'd be grateful, otherwise ping me and I'll look at getting the change done this week.

DataTables commented 5 years ago

Yup - I'll get it done for the next release :).

louix commented 5 years ago

Hey @DataTables, do you know when this will be released? Would be super useful.

DataTables commented 5 years ago

Not certain yet I'm afraid. We are going to do releases of the other DataTables extensions this month, but Responsive still has a few outstanding issues and I'm not sure if I'll get them addressed or not.

AllanJard commented 9 months ago

Really sorry for the massive delay with this one. dtr-control is the class name in question now, and I think that is unlikely to conflict with other packages, so I think the correct thing to do, if you wanted custom events on the element would be to add it to the class list.