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
4032
How activate grid scrolling
posted

Hi all. After Upgrading from 2006.2 to 2007.3 the behaviour of scrolling on my pages has changed, meaning that the page becomes vertical scrollbar if enough grid rows are present instead of the grid.

For the layout I placed a HTML table on the page with absolute positioning 100% Width and 100% Height. The table contains of 3 rows :

Row1 : Width 100%, Height 22px (Containing Page Title)

Row2 : Width 100%, Height 100% (Containing the grid, the grid itself takes 100% of the cell)

Row3 : Width 100%, Height 22px (Containing Buttons)

The scrollbar properties of the grid are scrollbar='auto' and scrollbarview='vertical' . What I'm doing wrong ? Thanks for any help.

 

  • 4032
    Offline posted

    It seems that setting width and height ist not HTML standard or fully compatible for all browsers. I set now the size of the grid in java script while initialization of the grid. This have to be placed and "adjusted" for every individual page.

    function salaryGrid_InitializeLayoutHandler(gridName){

    var grid = igtbl_getGridById(gridName);

    var clientHeight = document.documentElement.clientHeight;var clientWidth = document.documentElement.clientWidth;

    gridHeight = clientHeight-160;

    gridWidth = clientWidth;

    grid.resize(gridWidth, gridHeight);

    }

    If anybody has a better solution, please let me know.