Colonne avec boutons dans un datagrid
Bonjour, je voudrais ajouter une colonne avec un bouton pour supprimer la ligne choisi, le grid s'affiche mais la colonne avec le bouton et le combobox affiche trois point. voici le code du grid:
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13
|
<table id="grid" jsid="grid" dojoType="dojox.grid.DataGrid" store="jsonStore" query="{nom: '*' }" clientSort="true" rowsPerPage="20" width="auto" >
<thead>
<tr>
<th width="auto" field="nom">Nom </th>
<th width="auto" field="prenom">Prénom</th>
<th width="auto" cellType="dojox.grid.cells.Button" >Button</th>
<th width="auto" cellType="dojox.grid.cells.ComboBox" options="country,city,continent" editable="true">Type</th>
</tr>
</thead>
</table> |