Get an array of date values from dataset, and based on the values, filter a date array, to get the ones available

@allu112apina
How do look like your data? Did you already tried to make a console-log?
Normaly you should be able to resolve this problem by your own.

What you have to do?

You get your —> data <— from somewhere into your —> feedTable-function <—.
Now put a console-log into the first line of your “feedTable”-function to inspect the recieved- DATA-PACK.

Now there could be 2-scenarios!

  1. The recieved data-pack has a wrong format.
  2. The recieved data-pack is still in the promise and waits to be fullfilled.

How to resolve, if it is the first scenario?
Simply modify your data-object, which should normaly have the following data-structure…

myDataPack = [
	{"data1": "hereMyData1"},
	{"data2": "hereMyData2"},
	{"data3": "hereMyData3"}
]

Your const —> “tableColums” has this structure for example.

What to do if it is scenario-2?
You can add an ASYNC-AWAIT → i think somewhere in your output-function, or even try to do it in your “feedTable”-function.

async function feedTable(table, data){
	table.rows = await data
	........
	......
	...
	..
	.
}

How to set a repeater data?

$w("#myRepeater").data= data;

If you would take a look onto the API of the repeater, than you would find all the needed coding steps and commands, EVEN THE RIGHT EXPECTED DATA_FORMAT!

Look here......