Skip to main content
madhup0003
Known Participant
Jul 14, 2022 9:53 AM UTC
Question

Grid Height

Hi All,

In my project i have a requirement  where i have to add a link which is used to minimize and maximize the height of grid, and we are using a!gridlayout for grid.

so anyone can help me how to add a link for the same.

    2 replies

    harshitb6843
    Brainy
    Jul 14, 2022 10:01 AM UTC

    You have a height parameter in this component. You can use that to manage the height. 
    Now to change it, you can create a list of all the possible values and then use it as the value of the link. Whenever user clicks on a link, you will change the value of a variable and then finally use that variable to pass the height dynamically. 

    madhup0003
    Known Participant
    Jul 14, 2022 10:07 AM UTC

    Thanks for suggesting this, can you also show the code for the same, how to create?