鼠标禁用样式,是一个红色的圈加一个斜杠,表示禁止的意思

$("#id").css('cursor', 'no-drop');

$("#id").css('cursor', 'not-allowed');
禁止所有鼠标事件,此事件也会禁用鼠标样式
$("#id").css('pointer-events', 'none');

 

kendo 禁止编辑

var listView = $("#id").data("kendoListView");

for (i = 0; i < elementTypes.length; i++) {
    // 只读
    listView.element.children()[i].disabled = true;
}

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-11
  • 2021-11-18
  • 2022-03-11
  • 2022-02-11
猜你喜欢
  • 2022-02-28
  • 2022-02-05
  • 2021-06-03
  • 2022-12-23
  • 2021-04-10
  • 2022-01-07
  • 2021-07-07
相关资源
相似解决方案