ScrollX and scrollY: header misaligned with main grid body
ScrollX and scrollY: header misaligned with main grid body
Hi,
I've tried to implement both vertical and horizontal scrolling on my table following this example: http://datatables.net/examples/basic_init/scroll_xy.html but I find that when I scroll all the way to the right, my columns become misaligned. The main grid body has correct column alignment, but the header cells are not adjusted to allow for the offset of the vertical scrollbar's width.
EDIT: Further detail - the header is in a div called dataTables_scrollHeadInner and the body is in a div called dataTables_scrollBody.
Any advice?
I've tried to implement both vertical and horizontal scrolling on my table following this example: http://datatables.net/examples/basic_init/scroll_xy.html but I find that when I scroll all the way to the right, my columns become misaligned. The main grid body has correct column alignment, but the header cells are not adjusted to allow for the offset of the vertical scrollbar's width.
EDIT: Further detail - the header is in a div called dataTables_scrollHeadInner and the body is in a div called dataTables_scrollBody.
Any advice?
This discussion has been closed.
Replies
Did you find the solution? Perhaps Allen will chime in.
Allan
Any other solutions?
Please see my test page at: http://chronosrealty.com/datatables/
It seems like it's directly related to the vertical scrollbar. Are there any further configuration parameters that can be used to resolve this?
Allan
Allan