bonjour,

Je travaille avec STRUTS 1.1 et Struts-Layout-1.2-Struts-1.1-compatibility.jar.

Je dois afficher mes données dans un tableau et pouvoir faire des modifications/ajouts/suppressions

J'utilise donc le DATAGRID.

Code dans ma jsp:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
    <div class="grille"> 
        <layout:form action="/gestionGroupesAction" reqCode="display">
            <table   class="grille"   cellpadding="3" cellspacing="0" border="0">   
                <layout:datagrid property="datagrid" selectionAllowed="true" multipleSelectionAllowed="false" model="datagrid" styleClass="datagridGroup">
                    <layout:datagridColumn title="code" property="code" mode="I,I,I" width="100"/>
                    <layout:datagridColumn title="libelle" property="libelle" width="100"/>           
                    <layout:datagridColumn title="type" property="type" width="100"/>
                    <layout:datagridColumn title="nomCreateur" property="nomCreateur" mode="I,I,I" width="200"/>
                    <layout:datagridCheckbox title="" property="chkbx_suppression"/>
                </layout:datagrid>
            </table > 
         </layout:form>
    </div>
Code dans fichier CSS:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
layout.datagridGroup{
	width:100%;
}

PB n° 1:
Je n'arrive pas à agrandir la largeur de ma colonne libelle, ces colonnes semblent avoir une largeur fixe... ?

PB n° 2:
Je n'arrive pas à trouver des infos sur le parametre MODE du layout:datagridColumn

Quelqu'un peut il me donner sa lumière ?
Merci.