Delay loading of image cells on non-visible rows (client side)

Delay loading of image cells on non-visible rows (client side)

brandlebrandle Posts: 1Questions: 1Answers: 0
edited August 2017 in Free community support

Each grid row has an image column. My images are being loaded from a remote source and on top of that via a poor network connection, so 10 rows are taking about 20 seconds to load. Because of the nature of the web page this is actually acceptable. However, when there are 20 rows returned it is taking double the amount of time even though my page size is set to 10 and those other 10 rows aren't visible. Without reverting to server side and doing server side paging, is there a way to delay the loading of the images until the row they are on is visible?

Answers

  • kthorngrenkthorngren Posts: 21,309Questions: 26Answers: 4,947

    See if deferRender helps.

    Kevin

  • allanallan Posts: 63,471Questions: 1Answers: 10,467 Site admin

    Yup - if you Ajax load the data and use the deferRender option as Kevin says, that way the images won't be requested until they are displayed.

    Allan

This discussion has been closed.