Removing first column's header "activecolumn" class
Removing first column's header "activecolumn" class
Hello
I'm using a styled datatables component and would like to understand how datatables handles the active column state. Upon clicking a column header (other than the first) I'm running a script the removes the active column status from all column headers and assigns it to the clicked column header. However, the first column always get's the "activecolumn" class back after my script. Is there an API call that I could use to say which column is the active column?
Taavy
I'm using a styled datatables component and would like to understand how datatables handles the active column state. Upon clicking a column header (other than the first) I'm running a script the removes the active column status from all column headers and assigns it to the clicked column header. However, the first column always get's the "activecolumn" class back after my script. Is there an API call that I could use to say which column is the active column?
Taavy
This discussion has been closed.