probleme dataTable Scrollable
Voila j'ai un tableau de données qui sera alimenté par une base, et donc n'a pas de taille fixe.
Cependant je ne veux pas de scroller pour ma page web, mais un scroller uniquement pour le tableu.
jarrive à le faire marcher sur un tableau "bidon"
Code:
1 2 3 4 5 6 7 8 9 10 11 12
|
<ice:dataTable id="iceDataTbl"
var="person"
value="#{TestBean.listeAbbatage}"
columnClasses="tableCol"
scrollable="true"
scrollHeight="100px"
columnWidths="160px,160px,160px"
>
<ice:column>
<f:facet name="header">
etc ..... |
=> là pas de problème, j'ai bien ma petite barre de défilment.
Mais pas sur mon tableau principale
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
<ice:panelTab label="label1">
<ice:dataTable id="dataSortData"
cellspacing="0"
cellpadding="0"
width="680px"
border="1"
value="#{TestBean.listeAbbatage}"
var="aba"
sortColumn= "#{TestBean.sortColumnName}"
sortAscending= "#{TestBean.ascending}"
scrollable = "true"
styleClass= "iceDatTbl"
rowClasses= "row1,row2"
columnClasses="tableCol"
columnWidths= "90px,40px,20px,40px,50px,10px,50px,80px"> |
voila ce que ça fait :
http://img228.imageshack.us/img228/3...leaucs3.th.png
en mettant l'option scrollable="false" :
http://img167.imageshack.us/img167/6...eau2bo8.th.png
Voila si ils vous faut plsu d'infos demandez moi :lol: