0
我有網格,一些列...我想隱藏在網格一列...該怎麼做...如何隱藏特定的列在dojox.grid.DataGrid
這裏是我的網格....在此我需要隱藏電網CWDocId頭......
<div class="claro" id="CWPWORKLIST__2" name="dataGrid" onclick="setWidgetproperty(this.id,'xy','inner__CWPWORKLIST__2')" ondblclick="editDataGridResponseMapping(this.id)" onmouseup="setDocStyle(this.id)" style="height:250px; left:auto; position:absolute; top:333px; width:920px;">
<table class="claro" dojotype="dojox.grid.DataGrid" id="inner__CWPWORKLIST__2" rowselector="10px">
<thead>
<tr>
<th field="CWDocId" width="100px" style="display:none;">
CWDocId
</th>
<th field="Due" width="100px">
Due
</th>
<th field="Participant" width="100px">
Participant
</th>
<th field="User" width="100px">
User
</th>
<th field="Task" width="100px">
Task
</th>
<th field="Details" width="100px">
Details
</th>
<th field="Created" width="100px">
Created
</th>
<th field="Assigned" width="100px">
Assigned
</th>
<th field="Started" width="100px">
Started
</th>
</tr>
</thead>
</table>
<input id="hidden__CWPWORKLIST__2" name="orcl1.cw" style="display:none;" type="hidden" value="CWDocId##CWDOCID,Due##DUE_DATE,Participant##PARTICIPANT_TYPE,User##USER_ID,Task##OPERATION,Details##ORDER_VK,Created##CREATION_DATE,Assigned##ASSIGN_TO_USER_DATE,Started##START_WORK_DATE">
</div>