Load grid from Browsercache or prevent from reloading

QuestionsLoad grid from Browsercache or prevent from reloading
Mario asked 8 years ago

Hi,

the is a function preventing from reloading whole script after editing:
$grid["edit_options"]["reloadAfterSubmit"]=false;

Is there also a way to prevent reloading grid after reloading the site? So that the grid is loaded from kind of cache?

Reason: reloading takes time 3 seconds. In our application we need to have the grid loaded only at the beginning of a editing session…

Thank for help!

2 Answers
selectcase.biz answered 8 years ago

… I found its demos: Load Session

Abu Ghufran answered 8 years ago

If you need only listing (not editing records), you can fill database to an array / session, and load grid from that array.
For modification records, custom on_insert,update,delete event handler will need some working.

Refer demos/loading/load-session.php

Your Answer

10 + 10 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?