refreshing a table control

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

kotinkarwak
Ebase User
Posts: 109
Joined: Mon Sep 21, 2015 9:55 pm

refreshing a table control

#1

Postby kotinkarwak » Sun Feb 28, 2016 9:24 am

Need to refresh a table once the underlying table resource has been updated.

Running

Code: Select all

tables.dr_user_resource_note.resetTable();
tables.dr_user_resource_note.fetchTable();
but on page not sure how to refresh the table.
0 x
ebasetech v5

Skype: mateso08
Location: Kenya

Segi
Ebase User
Posts: 649
Joined: Mon Dec 09, 2013 6:37 pm

#2

Postby Segi » Mon Feb 29, 2016 2:26 am

That should work. I've done the same thing after updating a table and that call to fetchTable() should refresh the data from the database
0 x

kotinkarwak
Ebase User
Posts: 109
Joined: Mon Sep 21, 2015 9:55 pm

#3

Postby kotinkarwak » Tue Mar 01, 2016 10:11 am

My experience is, a two rows fetch followed by a three rows fetch only shows the third row upon the fetch and the first two are from first fetch instance.

In this instance only needed data to be used in code but had displayed these in a table for troubleshooting when I noticed this.
0 x
ebasetech v5

Skype: mateso08
Location: Kenya


Who is online

Users browsing this forum: No registered users and 18 guests