salut tout le monde
j'ai une dojox.grid.DataGrid et dans cette grid j'ai une liste deroulant voici le code :
merci d'avance pour votre aide
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48 <table dojoType="dojox.grid.DataGrid" store="store" jsid="grid" id="grid" style="width: 64em; height: 30em;" rowSelector="20px" clientSort="true" > <thead> <tr> <th field="id" width="150px" > id </th> <th field="champs" width="150px" cellType="dojox.grid.cells.Select" <?php foreach($this->liste as $monObjet) :?> options = "<?php echo $critere->getChamps()?>" <?php endforeach;?> -->>ce code il met la liste deroulant non-editable et il m'envoyer le message d'erreur suivant : (This.options is null) values="1,2,3,4" editable="true" > Champs </th> <th field="champs2" width="150px" editable="true" cellType="dojox.grid.cells.Select" options="val1,val2..." > Champs2 </th> <th field="champs3" width="150px" editable="true" > Champs3 </th> </tr> </thead> </table>![]()
Partager