Announcement

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

  • bsener
    replied
    I think one of my problems is that I'm trying to set a different data source for the same columns, in different rows.

    I have a column called Database Server, and in each row the drop down list will have different options. Is this possible?

    Thanks.

    Leave a comment:


  • bsener
    replied
    Any ideas?

    Leave a comment:


  • bsener
    replied
    A little more info; I got it to work by adding addChangedHandler to the server list. But I also want it to work when the page first loads.

    Thanks.

    Leave a comment:


  • ListGridField A to decide ListGridField B's option data source

    Hello,

    I have a form users are filling out. They need to choose their database server, and then database name. But I don't want to show all database names all the time, and I want to show the database names that belong to the database server. I got the data source(xml) working dynamically, but I can't get it right in the Canvas.

    Code:
    ListGridField server = new ListGridField("server");
    server.setOptionDataSource(serverDataSource);
    
    ListGridField name= new ListGridField("name");
    name.setOptionDataSource(nameDataSource(--value of server--);
    Any ideas?

    Thanks!
Working...
X