Load Grid from Array Data and nav button

QuestionsLoad Grid from Array Data and nav button
David asked 9 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 9 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 9 years ago

Work as expected ! Thanks abu

Your Answer

2 + 18 =

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?