1 Reply Latest reply on May 3, 2007 12:54 PM by dkerr

    DataGrid Multiple Select

      I have a list of "loops" (email dist lists in Mission Control speak) and their brief description in a datagrid. I want the user to be able to select multiple loops/lists, and save a comma-separated list of loopIDs in a SELECTEDLOOPS column in the database, when the form is submitted. I need the user to be able to see the description next to each loop/list, thus the datagrid.

      Is multiple select possible using a datagrid inside a form? Any suggestions how to bind the multiple selections to a variable that gets passed to my remoteobject?


      <mx:FormItem label="Loop" id="FI_Loop" toolTip="Select the Loop you want to send to" required="true">
      <mx:DataGrid width="450" height="100" alternatingItemColors="[#ece8ff, #ffffff]" id="DG_Loop" alpha="1.0">
      <mx:DataGridColumn headerText="LoopID" width="150" dataField="LoopID" />
      <mx:DataGridColumn headerText="Loop" width="150" dataField="Loop" />
      <mx:DataGridColumn headerText="Description" dataField="Description" />