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
350
igx-grid get row heights
posted

Hello dear Infragistics Team,

I was wondering if it is possible to loop over one or more grid rows and return its height. Please let me know if there is a way to attain this information or if I have to do a workaround.

Thanks in advance!

  • 1300
    Offline posted

    Hello Michael,

    After an investigation, I have determined that your requirement could be achieved by accessing the rowHeight property of the grid as follows:

    this.grid1.rowHeigh

    Another suggestion would be to loop through all rows and access the cellHeight property:

    this.grid1.rowList.forEach(row => {

         console.log(row.cellHeight);

    })

    Please test it on your side and let me know if you need any further information regarding this matter.

    Regards,
    Monika Kirkova,
    Infragistics