DataSource getRecords

Hi,
I was wondering why there are no methods to getRecords from a data source?

In cases where an OptionDatasource method is not available, we could then

  1. define a datasource,
  2. fetchData
  3. getRecords from Datasource (if it is fetched immediately…, there is no data arrived event for a datasource)
  4. set the ValueMap of a Textfield from Records of the data source(fetched in Step#3)

With Best Regards
Ganesh

Are you being humorous? You came very close to naming the exact API (DataSource.fetchData()) whose documentation describes this exact use case..

DataSource

This is just the 3rd week with this awsome tool…and add Zero Javascript knowledge, can result in humurous situations I guess..)

Thanks for your patience.

With Best Regards
Ganesh