Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
912
want cell dropdown button to work when CellClickAction=CellSelect
posted

 I have a datagrid with, let's say, 2 columns.  Both columns are dropdown type cells.  ColA is a ColumnStyle.Dropdownlist and a ValueList which is an UltraDropDown.    ColB dropdown needs much more functionality, so it's set with it's EditorControl as an UltraTextEditor and the UltraTextEditor has a buttonsRight associated with a panel (and the panel contains all the good functionality I need).  

 My CellClickAction for the grid is CellSelect because I need to do dragdrop operations.  I also have a DoubleClickCell handler which will put the cell into edit mode (performaction.entereditmode, if needed). 

The problem is that although the two columns look alike (both cells have dropdown buttons), if I click on the dropdown button in ColA it will immediately dropdown and allow the user to choose a value. The ColA cell will only be "selected" if I click in the cell but not on the dropdown button. This is the behavior I want.   However, if I click on the dropdown button in ColB it simply "selects" the cell as if I clicked in the cell itself and not in the dropdown button.  You have to "doubleclick" the ColB cell to put it into edit mode and THEN click the dropdown button to get it to work.   

I would like to be able to get ColB to immediately dropdown when the dropdown button is clicked, while "selecting" the cell only if the actual cell (and not the dropdown button) is clicked.

I would appreciate any guidance in how this might be done.

Thanks, Ron

Parents Reply Children
No Data