Adjust Flexgrid row height after content has loaded in page

Posted by: theruler0000 on 1 July 2020, 10:15 pm EST

  • Posted 1 July 2020, 10:15 pm EST - Updated 3 October 2022, 7:02 am EST

    I have a FlexGrid in an Angular js project where a list of files is fetched from a backend service, and the returned data includes a URL to an image preview.

    The flexgrid loads all the file data, then the preview URL resolves, however the row height doesn’t adjust to the height of the image, so each image is cropped in its row. If I refresh the view manually, the grid resizes to show the entire image, but I don’t know how to get the grid to set the row height only after all the data including the preview image URLs have resolved.

  • Posted 2 July 2020, 4:48 pm EST

    Hi,

    It seems that you have added the same post on the link below:

    https://www.grapecity.com/forums/wijmo/adjust-flexgrid-row-height

    Is your issue related to data or images? Because if you are using images, then you will need to go with the first solution provided here:

    https://www.grapecity.com/forums/wijmo/adjust-flexgrid-row-height#hiyou-may-use-the-load-eve

    Regards,

    Ashwin

  • Posted 2 July 2020, 7:21 pm EST

    Hi,

    Ofcourse Ashwin. As problem is explained clearly explained by him what exactly i am facing . so i have to use that. will check your solution and will get back to you.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels