Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

how can I refresh a display object ?

Questions related to using nuBuilder Forte.
Post Reply
marc
Posts: 92
Joined: Mon May 14, 2018 3:26 pm

how can I refresh a display object ?

Unread post by marc »

Can we refresh a Display Object? Maybe with a JavaScript function refreshdisplay('displayobj'); ?
kev1n
nuBuilder Team
Posts: 4307
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 448 times
Contact:

Re: how can I refresh a display object ?

Unread post by kev1n »

I'm afraid there's no such function as far as I know.
You will have to run a PHP function that runs the SQL and returns a value which then can be assigned to your display object.
marc
Posts: 92
Joined: Mon May 14, 2018 3:26 pm

Re: how can I refresh a display object ?

Unread post by marc »

Do you have an example maybe on how to do this?
kev1n
nuBuilder Team
Posts: 4307
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 448 times
Contact:

Re: how can I refresh a display object ?

Unread post by kev1n »

You'll find an example in my Code Library:

https://github.com/smalos/nuBuilder4-Co ... ct_refresh
marc
Posts: 92
Joined: Mon May 14, 2018 3:26 pm

Re: how can I refresh a display object ?

Unread post by marc »

@kev1n: Will check it out next week and let you know if I have any questions.
Post Reply