【问题标题】:Infragistics WebDataGrid not getting disabled in chromeInfragistics WebDataGrid 没有在 chrome 中被禁用
【发布时间】:2018-07-15 15:56:47
【问题描述】:

我正在使用 Infragistics 17.1,我想禁用 Infragistics WebDataGrid。所以我使用了webDataGrid.Enable = False 属性。

这在 Internet Explorer 中完美运行,即网格处于灰色和禁用状态,但在 chrome 视图中未处于禁用状态。

我有一些发现,例如,在 HTML 中呈现后,webdatagrid 元素具有属性disabled="disabled",因为这个 IE 网格看起来处于禁用状态,但不知何故它不适用于 chrome。

也许有人已经遇到过这个问题并有解决方案。

提前致谢!

【问题讨论】:

    标签: vb.net datagrid infragistics disabled-control webdatagrid


    【解决方案1】:

    我有解决这个问题的方法,比如下面的 css 更改。 [disabled] { pointer-events: none; color: grey; }

    不仅适用于 Infragistics 的 WebDataGrid,而且适用于许多其他具有相同问题的控件。我们可以使用更合适的 css 选择器来应用这些属性来指定控件。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多