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
1930
Set height to 100% - IgGrid
posted

hi

How can i set the IgGrid's Height to 100%??

I don't want to set in 'px'.

Thanks 

Parents
No Data
Reply
  • 23953
    Suggested Answer
    Offline posted

    Hi,
    igGrid.height can accept either number or string values. When set as a number igGrid implicitly understands it as a pixels value. When set to string you can define the units. igGrid can understand px or % units.
    Here is an example how to set the Grid height in percents(%):

    [code]

    $(".selector").igGrid({
        height : "100%"
    });

    [/code]

    All this information is described in the Ignite UI API Documentation.

    Hope this helps,
    Martin Pavlov
    Infragistics, Inc.

Children
No Data