Bonjour,
J'essaye de faire un tableau dojo, qui au passage de la souris m'ouvre une sorte d'infobulle ou je pourrais rentrer du texte en fonction des mes colonnes.
Ces colonnes doivent afficher une image qui change en fonction des données récupérer= 4 images d’états différents.
Mais je ne vois pas très bien comment m'y prendre.
Voici mon tableau : qui s'affiche.
Si quelqu'un aurait quelques pistes à me donner.... pour pouvoir afficher l'infobulle.
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 <div dojoType="dijit.layout.ContentPane" class="grid" region="left"> <span dojoType="dojo.data.ItemFileReadStore" jsId="icStore" url="grid.json" ></span> <table id="grid1" dojoType="dojox.grid.DataGrid" store="icStore" clientSort="true" style="width: 35em; height: 15em;"> <thead> <tr> <th width="15%" field="Name">Name</th> <th width="15%" field="Etat">Etat</th> <th width="15%" field="Nombretotal">Nombre total</th> <th width="40%" field="description">description</th> </tr> </thead> </table> </div>
Merci beaucoup!
Partager