Hi,
I have two repeaters, I placed them side by side. Both consists data that has hyperlink.
If I click the hyperlink in the right repeater, it will take the user to other page, and if on that page the user click apply, then that data move to the left repeater. I can manage up to move the data, but it seems the display is not what I expected, because the new moved data is not directly display in the left repeater. It will displayed after I close and reopen the form.
I have tried to do a fetchtable, but still the same result.
What should I do so it can display instantly after the move.
Thanks in advance for the help.
how to refresh the repeater?
Moderators: Jon, Steve, Ian, Dave
-
- Ebase User
- Posts: 305
- Joined: Thu Jul 02, 2015 8:32 am
- Location: Indonesia
-
- Ebase User
- Posts: 305
- Joined: Thu Jul 02, 2015 8:32 am
- Location: Indonesia
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
You can do a fetchTable() at any time, it doesn't make any difference. The system will always display the latest version of the table. Are you re-displaying the original page via the server? e.g. with a gotoPage() call - normally you would insert your fetchtable at this point or on the before page event. But if your edit page is invoked via a popup, then it might be that this just gets closed to redisplay the original page containing repeaters, in which case there is no server side event.
0 x
-
- Ebase User
- Posts: 305
- Joined: Thu Jul 02, 2015 8:32 am
- Location: Indonesia
Previously I do a fetchtable(), in the before page event. It didn't show the latest data. After I change the fetchtable() before doing form.gotoPage() then when the page show, it show it as it should be.
Jon wrote:You can do a fetchTable() at any time, it doesn't make any difference. The system will always display the latest version of the table. Are you re-displaying the original page via the server? e.g. with a gotoPage() call - normally you would insert your fetchtable at this point or on the before page event. But if your edit page is invoked via a popup, then it might be that this just gets closed to redisplay the original page containing repeaters, in which case there is no server side event.
0 x
Who is online
Users browsing this forum: No registered users and 15 guests