1 Reply Latest reply on Sep 6, 2007 10:53 AM by jfillman

    Reset DataGrid selectedIndex

    jfillman Level 1
      If no row is selected, the selectedIndex=-1. If I programatically set the selectedIndex=-1, that has no impact. The selectedIndex remains what was previously selected (zero or greater). So, how do I change it so that nothing is selected?
        • 1. Re: Reset DataGrid selectedIndex
          jfillman Level 1
          I found the answer. The mouseUp event wasn't being called, apparently because I was creating a drag proxy on the mouseDown event, which prevents the mouseUp event. So I created a mouseUp eventListener on the dragged item and set the selectedIndex=-1. That resolved it.