Table connected to database: showing data correctly
I have a database of which each row leads to a dynamic page, on selecting a row I console.log the data of the row selected (see image) and it opens the dynamic page on which I retrieve data by the getCurrentItem() api but it returns null, als if the item not contains any data.
The page worked fine for weeks, this just happened yesterday.
I did not change any code, only refreshed the database. But if there would be any trouble with the database why is the data shown in the table correct?
You need to put the getCurrentItem() inside:
$w('#dynamicDataset').onReady(() => { //PUT IT HEAR })