[英]How to disable datatable selection
use user-select
for the td
and th
tags对td
和th
标签使用user-select
td, th {
user-select: none;
-webkit-user-select: none;
-moz-user-select: -moz-none;
-ms-user-select: none;
}
Try adding this in css to disable selection all over the body尝试在 css 中添加它以禁用整个身体的选择
body {
-webkit-user-select: none;
-moz-user-select: -moz-none;
-ms-user-select: none;
user-select: none;
} }
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.