javascript - When tableDnD is disabled it leaves residual css and I can't clear the css -
(table drag and drop) is a jQuery plugin that I use to reorder in my html table I am doing . This is a very cool library, but the fact is that you can click, drag and drop rows - disable the ability to select that line by clicking - it thinks that you can start drag and drop Or drag the 0-distance.
So you can see my example here, and see what I'm talking about -
It stops in the form of disabled, so the row again Enable and view libraries. Then, try to select only one row in between the only way highlighting the blue highlight indicates shows that you click outside the table limit , and this Type you will only be able to choose to start at the bottom or the top, and is not able to select a line at a time.
I have tried to look at myself in the library and I will be able to copy these lines to Excel in order to copy them to Excel ('__ dragtable_disable_text_selection __') Rows need to be selected. I have tried jquerys to choose without, I've tried
$ ('dragtable-sortable'). Attr ('- moz-user-select', 'none');
Anything is re-enabling my ability to click and select single rows. I want to do this without modifying the table. DND Functions.
Which CSS properties can affect my ability to select table rows?
Create a textarea somewhere with id #spot Use this code to click on a line from the data Please remove and select it. It is delineated by tab so that it should be easily paste in Excel.
$ ('tr'). Click (function () {var copyContent = ""; $ (this) Td '). Each (function () {copyContent = copyContent + $ (this) .text () + "\ t";}); $ ('# Spot'). Val (copyContent); $ ('# Spot'). Choose (); });
Comments
Post a Comment