1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
<table dojoType="dojox.grid.DataGrid" store="store"
id="grid"
style="width: 64em; height: 20em;"
rowSelector="20px"
clientSort="true" columnReordering="true">
<thead>
<tr>
<th field="id" width="150px" hidden="true">id</th>
<th field="col1" formatter="formateur" width="150px"
cellType="dojox.grid.cells.Select"
options="un,deux,trois"
values="1,2,3"editable="true"> colonne_1 </th>
<th field="col2" width="150px" formatter="formateur"
editable="true" cellType="dojox.grid.cells.Select"
options="est,different,commence par,inferieure,superieure,
inferieure ou egale,superieure ou egale,contient,
ne contient pas"
values="=,!=,like,<,>,<=,>=,%like%,not like"> colonne_2</th>
<th field="col3" width="150px"editable="true"> colonne_3 </th>
</tr>
</thead>
</table> |
Partager