Hi
i have a jquery table with lots of row and i did the row selection work also. but i dont want the cell value to be selected if i drag select the row. how do i work with selecting the able row and not the values by drag select.
PraDheep
Hi
i have a jquery table with lots of row and i did the row selection work also. but i dont want the cell value to be selected if i drag select the row. how do i work with selecting the able row and not the values by drag select.
PraDheep
For most browsers, you should add a class to the table (e.g. 'selecting') and have the following CSS declaration:
.selecting {
-moz-user-select: -moz-none;
-webkit-user-select: none;
user-select: none;
}
For IE, however, you should subscribe to the selectstart and dragstart events and cancel them through javascript.