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
435
RowSelect CellClickAction and ValueLists
posted

I'm trying to make a grid have the ability to select a row and also allow the one column to contain a value list combobox.  Currently when I set the CellClickAction to RowSelect I am no longer able to pick or edit an item from the column with the valuelist attached to it.  I was hoping I could get a behavior similar to having the whole row select with 1 click, but if the user clicks again on the valuelist column the combobox will display.  Is this behavior possible with the ultrawingrid?  If not is there at least some way of making both of these features work together? 

Here is sample code from my InitializeLayout event.

ugInvoice.DisplayLayout.Bands(0).Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.RowSelect

        'Add Items to the list
        With e.Layout.ValueLists("vlInvoiceGroups").ValueListItems
            For Each r As DataRow In commonInvoiceGroups.Rows
                .Add(r("InvoiceGroupName"), r("InvoiceGroupName"))
            Next
        End With

 

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    What version of the grid are you using? Recently, the CellClickAction property was added to the Column as well as the Override. So you could set CellClickAction on the column with the DropDown to something different than the other columns.

Children