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
535
UltraDropDown in an UltraGrid column is for selecting ONLY, no editing.
posted

(This regards Win NOT Web).

I have researched other posts re: "uneditable columns" and have read this article:

HOWTO:How can I make a grid or a column, row, or cell in the UltraWinGrid disabled or read-only?

I have an UltraDropDown in an UltraGrid column. 

My issue is that as soon as I set .Activation to anything other than "AllowEdit", as detailed in the

above article, in the InitializeRow event, the UltraDropDown stops working ????

How can I have any UltraDropDown column in a WinGrid for selection purposes ONLY, the column

should NOT be editable following the close of the UltraDropDown ???

This WinGrid has some bound and some unbound columns. This UltraDropDown column of the UltraGrid

is UNBOUND, although the UltraDropDown itself IS BOUND to a 1-column table of items appearing in the dropdown.

How can I prevent editing in the unbound UltraDropDown column ???

Thank you,

XPXJ

Parents
  • 469350
    Verified Answer
    Offline posted

     Hi,

        I'm not sure I understand the behavior you want. The purpose of a dropdown is so that the user can drop it down and choose a value. This modifies the value of the cell in the grid.

        Are you saying you want to show a dropdown in a cell but not allow the user to select a new value on it? If so, I'd advise against it, as this would be prety unintuitive and non-standard UI.

        If you are saying that you want the user to be able to select an item from the list, but not to type into the cell, then you just need to set the Style of the column to DropDownList.  

Reply Children