下面是我的声明性 dojox.grid.datagrid。我想避免重新调整列的宽度。在 UI 中可以重新调整列大小。如何避免它
<div class="claro" id="customer" name="dataGrid" onclick="setWidgetproperty(this.id,'xy','inner__customer')" ondblclick="editCustomGrid(this.id)" onmouseup="setDocStyle(this.id)" style="height: 200px; left: 178px; position: absolute; top: 176px; width: 950px;"> <table class="claro" dojotype="dojox.grid.DataGrid" id="inner__customer" rowselector="10px" style="height: 180px; width: 400px;"> <thead> <tr> <th field="Column1" width="100px"> Column1 </th> <th field="Column2" width="100px"> Column2 </th> <th field="Column3" width="100px"> Column3 </th> <th field="Column4" width="100px"> Column4 </th> <th field="Column5" width="100px"> Column5 </th> </tr> </thead> </table> <input id="hidden__customer" name="dataGrid" style="display:none;" type="hidden">
问问题
1033 次