multiselect & scroll = true

Questionsmultiselect & scroll = true
Massimo Gagliardi asked 3 years ago

Hi Abu
I detected that if you have a grid with multiselect = true and scroll = true when you add a new item to the grid this don't refresh correctly and continues to show the previous situation.
The solution:
$grid["add_options"]["afterSubmit"] = "function(){ window.location.reload(); return [true, ''];}";
that i read in another post isn't very elegant.
There isn't other solution?
Thanks in advance
Massimo Gagliardi

2 Answers
Abu Ghufran answered 3 years ago

I am unable to generate this issue and it works as expected.
Looks to be some JS error that is blocking reload grid. Please see debug console. (F12)

in dems/editing/inex.php you can try:
$grid["multiselect"] = true;
$grid["scroll"] = true;

Massimo answered 3 years ago

Hi Abu, with the last release (build 20160725-0106) it's all ok

Your Answer

3 + 8 =

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 / 5. Vote count:

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

Let us improve this post!