Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 5 列和动态行的 jqxGrid。我需要在单击按钮时启用/禁用或只读真/假网格。有没有办法将禁用/启用的属性应用于整个网格?
有一个名为“可编辑”的属性启用/禁用网格的编辑并使其“只读”
您可以使用$('#GRID ID).jqxGrid({ editable: false});to make to disabled 并$('#GRID ID).jqxGrid({ editable: true});使其可编辑。
$('#GRID ID).jqxGrid({ editable: false});
$('#GRID ID).jqxGrid({ editable: true});