Announcement

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

    DataSource is not Binding in run time

    I am using filter builder with a DataSource which changes according to user selection. But when I run the code, it shows the datasource fields of the filter , user chosed initially. I think the issue is smartgwt does not allow to setDataSource dynamically . So is there anyway that I can set a dynamically changing dataSource to a FilterBuilder object. ?

    Thanks in advance.

    #2
    You didn't mention your version, which is always required when posting. filterBuilder.setDataSource() is allowed in more recent versions, however, in an older version you can simply create a new FilterBuilder as changing the DataSource requires essentially all of the FilterBuilder's UI and state to be rebuilt anyway.

    Comment

    Working...
    X