Announcement

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

    problem with dependent selects in grids

    http://www.smartclient.com/smartgwt/...endent_selects

    The above is the sample from the showcase so the issue can be easily duplicated.

    The following is the issue.
    clearValue on the dependent drop down appears to clear the value however when a new value is not selected and the focus is out of the grid, the prior selected value is displayed, which should not happen.

    steps to reproduce the issue in the showcase example.
    1) Select a Division
    2) Select a Department
    3) Change the Division/ select another division
    4) Do NOT select/click department drop down.
    5) Move focus out of division drop down, click anything on the grid except for department.
    you will see the department value selected in step2 is displayed, which is incorrect.

    I am not sure if this is a bug or if there is any api call that should be made to fix this, appreciate your help very much in resolving this issue.

    #2
    This is a bug in the sample code. The "local data" case should really call clearEditValue() like the Remote Data case, and that corrects this issue.

    Comment

    Working...
    X