toggleToolbar missing

QuestionstoggleToolbar missing
Stephen Hartigan asked 3 years ago

The toggleToolbar function is failing with the latest build.

In the console I get an error:

Uncaught TypeError: $(…)[0].toggleToolbar is not a function

2 Answers
Abu Ghufran Staff answered 3 years ago

If you using toolbar button and calling it on it’s click, you need to put it inside setTimeout.

https://www.gridphp.com/docs/setup/#upgrading-to-v28-from-previous-versions

https://www.gridphp.com/demo/demos/appearance/toolbar-button.phps Line 121

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Stephen answered 3 years ago

Perfect, thanks Abu.

Your Answer

10 + 2 =

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?