2 Replies Latest reply on Jan 27, 2010 1:17 PM by John Hall

    List display update labelfunction after drag and drop

    John Hall Level 4

      I have two list boxes. I have drag and drop enabled and depending upon whether an item has been already dragged to the right box, I want its display in the left box to change (gray out). I have the  label function working fine but it's always one item behind, i.e., when I drop an item in the right side box, it's not grayed in the left box until the next action.

       

      I've tried after the drop things such as:

       

      dp.refresh()

      leftSideBox.validateNow();

       

      Anything else I can do to get the left side box to re-run the label function for the dataprovider as soon as the drop is done?