Reload after Edit Excel Mode

QuestionsReload after Edit Excel Mode
abdelilah dourhmani asked 2 years ago

Reload after Edit Excel Mode : The grid didn’t refresh after edit cell

3 Answers
Abu Ghufran Staff answered 2 years ago

If you want to reload all grid cells after the editing of a cell, then you need to add:


// after submit event
$opt["afterSaveCell"] = "function(){ setTimeout(()=>{ $('#list1').trigger('reloadGrid', [{current:false}]);},100) }";

where $opt is the variable passed to set_option() function, and list1 is grid id.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
abdelilah answered 2 years ago

Even if after i add the submit  event it didn\’t work $opt[\”cellEdit\”] = true; $opt[\”afterSaveCell\”] = \”function(){ setTimeout(()=>{ $(\’#list_details1\’).trigger(\’reloadGrid\’, [{current:false}]);},100) }\”; $grid->set_options($opt);

Abu Ghufran answered 2 years ago

Please share complete grid code to regenerate this issue.

If you can record an screencast, it will help understanding the case.

Your Answer

9 + 11 =

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?