Monday, 15 September 2014

flex - How to get selected items Drag & drop component? -


  How can it get all the selected items selected from the code given below ContsList? & Lt; Mx: Datagrid id = "dg" dataProvider = "{cNumbersList}" allowmultiplashpn = "true" dropEnabled = "true" dragMoveEnabled = "true" & gt; & Lt; Mx: column & gt; & Lt; Mx: DataGrade column datafield = "ContactName" headline = "name" /> & Lt; Mx: Datagreat column datafield = "no contact" eaderText = "no contact" /> & Lt; / Mx: column & gt;  

  & lt; Mx: label text = "selected contact:" width = "122" color = "# C90855" height = "16" /> & Lt; Mx: DataGrade id = "selectedContsList" permissionMultiplashial = "true" draggable = "true" dragged = "true" & gt; & Lt; Mx: column & gt; & Lt; Mx: DataGrade column datafield = "ContactName" headline = "name" /> & Lt; Mx: DataGrade column datafield = "no contact" headtext = "no contact" /> & Lt; / Mx: column & gt; & Lt; / Mx: data grid & gt;  

What's wrong with the following?

  & lt; MX: DataGrade ID = "Selected content list" Detector = "{dg.selectedItems}" allowmultiplash = "true" draggable = "true" dragged = "true" & gt;  

Thinking that you are definitely asking ...


No comments:

Post a Comment