-
1. Re: DataTable With SubDataTable add Vertical Scroll Bar
nbelaevski Dec 20, 2010 7:15 PM (in response to gothicoil)Hi,
Do you need scroll bar per the whole data table or scroll bar per each of the rendered subtables?
-
2. Re: DataTable With SubDataTable add Vertical Scroll Bar
gothicoil Dec 20, 2010 8:16 PM (in response to nbelaevski)Hi, i am need in a dataTable not in a subDataTable you have a solution with this ?
Thanks for the help
-
3. Re: DataTable With SubDataTable add Vertical Scroll Bar
nbelaevski Dec 21, 2010 4:51 AM (in response to gothicoil)As the simplest, you can achieve this using CSS for table container. However, in this simple case header/footer will be scrolling too - if you need to avoid that, check one of the plugins discussed here: http://plugins.jquery.com/plugin-tags/fixed-header
-
4. DataTable With SubDataTable add Vertical Scroll Bar
gothicoil Feb 25, 2011 9:34 AM (in response to gothicoil)I'm not able to try with the plugin webtoolkit.scrollabletable.js and now I'm trying with css but this is not working
[code]
div.scrollWrapper{
overflow:visible;
overflow:scroll;
}
table.scrollable{
table-layout:fixed;
margin-right:16px;
margin-right:0;
border-collapse:separate;
}
table.scrollable thead th{
position: relative;
top: expression(parentNode.parentNode.parentNode.parentNode.scrollTop-1);
z-index:20;
}
table.scrollable tbody{
overflow-x:hidden;
overflow:auto;
}
table.scrollable tr{
height:0px;
}
[/code]