Announcement

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

    RestDataSource

    Hey guys,

    I have a problem which I'm struggling with for quite a while.
    I want to create Dynamic ListGrids, which means that I want to have a ListGrid,
    that could contain any columns that are defined in a database table.
    The main problem ist that i won't know all possible colums, so I need to
    create the RestDataSorce dynamically

    So what I'm doing is setup a RestDataSource to fetch all records which will
    be my fields for the second RestDataSource. The second RestDataSource will be
    assigned to a ListGrid and a DynamicForm.

    This works totaly fine as far as I get the RestDataSources before I
    initialize the ListGrid. Because of the async communication I want to make
    sure that the second RestDataSource (the DataSource for my ListGrid) is
    created before my ListGrid gets initialized.

    How would I do something like that. And do I have to use the Enterprise
    Edition? Or is GWT-RPC a better way to handle such problems?

    Thanks in advance and best regards
    Lippo
Working...
X