salut,

je suis débudente en css ,

j'ai voulu avoir un scroll bar pour mon datagrid (puisqu'elle contient plus qu'une centaine de lignes), alors j'ai ajouté un div dans une table , mais cela ne fonctionne pas

voici mon code

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
....
<layout:panel key="listeUsesCaseOption" styleClass="FORM" width="90%"
		align="center">
		<layout:row>
			<table>
				<tr>
 
 
					<td style="height: 50px">
					<div style="overflow: scroll; width: 100%;  text-align: left;">
					<layout:datagrid
						property="usesCaseOptionlist" styleClass="DATAGRID"
						selectionAllowed="false" multipleSelectionAllowed="false"
						model="datagrid" >
 
						<layout:datagridColumn width="150" title="libelleuc"
							property="libelleuc" mode="I,I,I" />
						<layout:datagridColumn width="150" title="libelleOption"
							property="libelleOption" mode="I,I,I" />
 
					</layout:datagrid>
					</div>
					</td>
 
				</tr>
 
			</table>
		</layout:row>
	</layout:panel>
...
que dois-je faire?

merci d'avance