1 Reply Latest reply on Jul 13, 2011 4:59 AM by flex4

    Datagrid item renderer with drop down need help.

    Mahesh_Khatri

      Hi Guys,

      I am populating an advance data grid in which one column has an item renderer containing a drop down. This drop down has 4 items. When user selects more than one row the drop down should contain only two items. In my case when user selects multiple rows using control key and then clicks on any of the rows drop down then that row gets de selected which I don’t want I tried stop propagation and stop immediate propagation but that also didn’t helped. Please help

       

       

      Thanx

      Mahesh.

        • 1. Re: Datagrid item renderer with drop down need help.
          flex4 Level 2

          Hi

           

            This is a default bahviour of dropdown.. dropdown will not allow you multiple selections.. you should create your own component by extending the combobox and try your thing,, If you click on one item.. then it calls internally change event. If the change event called then the dropdown will automatically closed.. so you should restrict this ...

           

           

          Thanks

          Ram