Hi All
I am using cal element in my List View
My PHP code is quite complex and takes time to fetch the information, which i feel is perfectly fine.
But when i load my list view the whole page takes lots of time. In my List View i am showing 10 rows.
So for each page with 10 rows the calculation happens and thats the reason it takes lot of time.
How can make make my code in cal element like a lazy load. So that when i load the list view it loads fast and in behind the scene the PHP code will run and the value shows up when the php code runs.
Any example will be greatly appreciated.
Thanks
I am using cal element in my List View
My PHP code is quite complex and takes time to fetch the information, which i feel is perfectly fine.
But when i load my list view the whole page takes lots of time. In my List View i am showing 10 rows.
So for each page with 10 rows the calculation happens and thats the reason it takes lot of time.
How can make make my code in cal element like a lazy load. So that when i load the list view it loads fast and in behind the scene the PHP code will run and the value shows up when the php code runs.
Any example will be greatly appreciated.
Thanks