Load Grid from Array Data and nav button

QuestionsLoad Grid from Array Data and nav button
David asked 4 years ago

Hi Abu,

When you use load grid data from array and use navButtonAdd , button is not visible until you click grid refresh button.

probably because on no refresh for mysql data.

it is possible to fix ?

2 Answers
Abu Ghufran answered 4 years ago

Working demo here:
Demo: phpgrid.org/demo/demos/loading/load-array.php
Code: phpgrid.org/demo/demos/loading/load-array.phps

It uses setTimeout to make it work.
setTimeout("add_tb()",100);

David answered 4 years ago

Work as expected ! Thanks abu

Your Answer

20 + 20 =

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!