Announcement

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

    unselected Foreign key shows all

    I have a data source bound to a list and you can select it. There is a second list which should show "No items to show" or query the server for a results based from the foreign key selected in the first list. I did this with a second data source which was bound to the second list and using setForeignKey on the appropriate DataSourceField. It works great. as i click on the first list it only brings up information related to that item. The issue is that when it is not clicked. It shows all records. In your showcase "demo application". This doesn't happen. It shows "No items to show". I've ripped it apart and have been unable to reproduce how it's done.

    I am using smartgwt 2.4
    there does not seem to be a sever issue
    no javascript errors

    #2
    I think i solved it. I Just set it to query "none" so there are no results. And the field is integer only so it is imposable for it to exist

    Comment

    Working...
    X