Search code examples
dojodgrid

100% Height in dGrid


How is it possible to make a dGrid instance take up 100% of the height of its container? I can use CSS to make the ".dgrid" classed div a specific height but when I set it to 100% it doesn't display.


Solution

  • Got it.

    .dgrid {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: auto;
    }
    

    (With position absolute/relative on container, of course)