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
85
Web Combo Value in Web Grid Cell
posted

Hi folks,

I have a WebGrid set up with a WebCombo as a cell editor so that a user can select a value from the drop down to populate the cell value. I have type ahead set up on the WC and it has been working well.

If you try and type a value that is not in the drop down list, when you click out of the cell it simply blanks the value. Is it possible to modify the WG/WC behaviour to allow a value to be selected from the drop down and also allow a user to type in a value.

I realise what i'm askin kind of goes against having the drop down in the first place but if this can be done it would be very helpful.

I appreciate any help.

Thanks.
Jonny

Parents
  • 12631
    posted

    Jonny:

    When the user enters a value into the cell, you would you expect that to be handled by the grid?  Are you using different display values and data values in the WebCombo?

    For example, a pretty common scenario is to have a grid column that is a numeric data type, for example a number that represents a color.  The column may have a webcombo embedded in it that contains lookup values to make it easier for a user to select the correct value ("Red", "Green" or "Blue").  In this scenario should the cell only allow the end user to enter numeric values since that it its underlying data type, or should it accept "Black" as the value, and if so how does that get converted to the numeric value required by the column?

    Devin

Reply Children