Desired Feature: Column Selection
Desired Feature: Column Selection
In a future version, would it be possible to have column selection when a column name is clicked on ? DataTables appears to be oriented towards business users, where the rows (records) are the focus. In the sciences, users typically deal with matrices of data and subsets of columns are just as important. I imagine the sorting being able to be restricted to the triangles next to each column name, and selection happening when the column name is clicked on. I also wonder about being able to customise row selection. For example, only triggering row selection if a cell of the first two columns on the left side of the table are clicked on, rather than anywhere in the table.
Replies
Thanks for the suggestion - You could use the
column().select()
method to do this at the moment. It probably won't be included in the Select library core since the DataTable column headers are typically used for sorting the column, but if you don't use sorting, or you trigger it in some other manner, the API could certainly be used for this.Allan