Now I still have a problem, concernig different width between head and rows. How could I modify the following script to give the same width to head and rows?
for (var i = 0; i < aHeadNodes.length; i++){
sHTML += '';
}
The misalignment appears to be due to the padding set in JavaScript in the b-listgrid.xml, You may have to adjust this value to your custom requirments.
horizontal scroll on listgrid
27 June, 2007 - 19:40 — AnonymousHi Luca,
This requires css customization for this component. Please look at the b-listgrid.css and b-listgrid.xml files of your selected skins directory.
-Senaka
horizontal scroll on listgrid
29 June, 2007 - 11:15 — AnonymousHi Senaka,
I have modified b-listgrid.css file to have Horizontal scroll on listGrid (this is very useful when table has dozens of columns). So:
.b-listgrid table {
table-layout: fixed;
}
become
.b-listgrid table {
table-layout: auto;
}
.b-listgridbody {
overflow-y: scroll;
overflow: -moz-scrollbars-vertical;
height: 100%;
border-color: #809aa9;
border-style: solid;
border-width: 1px;
position: relative;
}
become
.b-listgridbody {
overflow-y: scroll;
overflow-x: scroll;
overflow: -moz-scrollbars-vertical;
height: 100%;
border-color: #809aa9;
border-style: solid;
border-width: 1px;
position: relative;
}
Now I still have a problem, concernig different width between head and rows. How could I modify the following script to give the same width to head and rows?
for (var i = 0; i < aHeadNodes.length; i++){
sHTML += '';
}
Thank you in advance,
Luca.
horizontal scroll on listgrid
5 July, 2007 - 13:26 — AnonymousHi Luca,
The misalignment appears to be due to the padding set in JavaScript in the b-listgrid.xml, You may have to adjust this value to your custom requirments.
-Senaka
how do i view the response to this post?
25 May, 2008 - 05:40 — jmejoradahow do i view the response to this post?
horizontal scroll on listGrid
26 May, 2008 - 14:02 — EmielThe listGrid will have horizontal scrollbar as soon as the listGrid width is less then the total column width.