Skip to main content
madhup0003
July 14, 2022
Question

Grid Height

  • July 14, 2022
  • 2 replies
  • 0 views

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
    July 14, 2022

    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
    July 14, 2022

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