Announcement

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

    deselected row in listgrid after call to form's saveData

    In my test application I have a listgrid and a form sharing restdatasource which connects server (setClientOnly(false)). After I call form.saveData() the selection in the grid disappears. I wouldn't be so bad, but the SelectionChangedHandler registered on the grid isn't being called at this time.
    What I am doing wrong? Please, help me.

    #2
    Not doing anything wrong, that just the default behavior right now. You can re-select explicitly using selectRecord() from the saveData() callback.

    Comment


      #3
      Yes, it works perfectly. Thanks a lot :-)

      Comment


        #4
        What if I have several databound components?

        I think this is a bug - rows could be deselected either only on full update, or on deletion. But row update shouldn't cause that.
        This also makes it difficult to maintain UI state when such random events cause deselects and even cannot be catched.
        Also, is it possible to disable ctrl+click deselection?
        Thanks

        Comment

        Working...
        X