Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    DATASOURCE FIELDS LOAD DYNAMICALLY

    Hello, I am using the client side.
    I developed a RESTFul (ws) that is consumed by a data source.

    After RESTFul is requested, it connects to the database and queries a table (tableName is a parameter).

    So, for reasons of reuse, my intention is to always use the same way, as far as possible.

    Well my question is,... Is there a way to reply to the data source and define the fields after the data source receives the response?

    In short, it is, on the RESTFul side read the metadata and then when the response arrives to the data source, dynamically, read the associated fields.

    Any help, will be grateful.
    Carlos

    #2
    If you're talking about a client-side DataSource, since you're doing in JavaScript, obviously that can be dynamic.

    For a server-side DataSource, you can create a DynamicDataSourceGenerator - this is in the QuickStart Guide, Server Framework chapter.

    Comment

    Working...
    X