Make column header text selectable?
Make column header text selectable?
ninja_skeeball
Posts: 6Questions: 0Answers: 0
Hi.
What code would be needed to properly allow text selection on datatable column headers? We want to keep the sort function enabled and allow for text selection on the column name.
What code would be needed to properly allow text selection on datatable column headers? We want to keep the sort function enabled and allow for text selection on the column name.
This discussion has been closed.
Replies
Any way to make column names hi-lightable so you can use copy and paste on the column names?
Any help, please?
Like xmikew, I can select and copy header text in DataTables tables.
Allan
http://www.datatables.net/release-datatables/examples/basic_init/zero_config.html
This is an example.
Using Chrome Version 26.0.1410.63
I place the mouse cursor to the left of any column name, eg: "Browser", I then press the mouse button, move over the word browser, and release the mouse button.
Expected effect:
"Browser" is highlighted.
Actual effect:
Table is resorted by browser.
Allan
Thanks a ton! You da man! =D