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
15
change row height in ig.grid with buttons
posted

I'm trying to change the <tr> height of every row in the grid using two buttons "+" and "-", but I can't figure out, how I can change the <tr> value of the ig.grid row .

I'm thankfull for every help.

Regards,

Florian Erl

  • 60
    Verified Answer
    Offline posted

    Hello Florian Erl,

    Thanks for posting in Infragistics forums.

    Out of the box we do not provide such property.

    You can workaround this by getting all of the rows like this:

    $("#gridID").igGrid("rows")

    and set the height style yourself. For example:

    $("#gridID").igGrid("rows").toArray().forEach( element => {

    element.setAttribute("height","100px");

    });

    Also, keep in mind that there might be issues with misalignment using other features of igGrid.

    Please do not hesitate to ask me if you have any other questions or concerns.

    Best Regards,

    Martin Dragnev,

    Infragistics