Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
185
How to fix this issue?
posted

we are using ULTRA WebDataGrid and we found an issue: change column width and the scroll bar appears even when there is only 1 record in the grid.

we researched this issue and found: before changing column width, the code 'grid.DivElement.style.height = availHt + "px" ' can work. But after changing column width, the code ' grid.DivElement.style.height = availHt + "px" ' can't work.

var grid = igtbl_getGridById("<%=grdTracing.ClientID %>");

if (grid) {

grid.DivElement.style.height = availHt + "px";

grid.DivElement.style.width = availWt + "px";

grid.DivElement.style.overflowY = "auto";

}

Do you have some suggestions about this? Thank you very much!