Currently theme_datatable() wraps around the "regular" table element theming function. This means that datatable functionality can't be used with tableselect elements.
@AlexHoebart-ICPDR PR provided. It adds a Form API element called datatable_tableselect that works the same way as the core element tableselect, but it also provides datatable functionality.
Currently
theme_datatable()
wraps around the "regular"table
element theming function. This means that datatable functionality can't be used withtableselect
elements.I'll try a PR for this later.