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
2265
Restrict UltraGrid column entry to list
posted

Hi,

I have a UltraGrid with a number of columns.  On one of my columns, I am using the UltraCombo as a ValueList on my column.  All is working fine - I can select the items in the list and update the grid (baring in mind I had to use a workaround http://forums.infragistics.com/forums/p/15418/347313.aspx#347313 to get the binding working).

The issue I have is that the user can enter values into the cell.  I don't want to allow the user to do this - they must only pick the values in the list.  Setting the UltraCombo to DropDownList does not have any affect.

What do I need to change?

Thanks,

Andez

 

Parents
No Data
Reply
  • 2265
    posted

    Think I have found the answer.

    You can set the Style property on the column as follows:

    ui_ugUsers.DisplayLayout.Bands(0).Columns(

     

    "User").Style = Infragistics.Win.UltraWinGrid.ColumnStyle.DropDownList

    Andez

Children
No Data