When i set the grid's width not to occupy 100% of the space, i follow your mentioned code as follows
This works fine when I dont have vertical scrollbars. But when I get vertical scrollbars i get 17px difference. See the attached screen.
2) When we have vertical scroll bars it also automatically introduces horizontal scrollbars. I dont know why... i dont need that to be shown. See attachements.
see the difference in header and column lines and also see the unwanted horizontal scrollbar.
your immediate reply is requested.
Thanks very much
if
(actualOffsetWidth < l_screenWidth) {
sender.MasterTableView._element.style.width =
"";
sender.get_element().style.width = sender.MasterTableView._element.offsetWidth +
"px";
}
This works fine when I dont have vertical scrollbars. But when I get vertical scrollbars i get 17px difference. See the attached screen.
2) When we have vertical scroll bars it also automatically introduces horizontal scrollbars. I dont know why... i dont need that to be shown. See attachements.
see the difference in header and column lines and also see the unwanted horizontal scrollbar.
your immediate reply is requested.
Thanks very much