Ticket T523768
Visible to All Users

GridView - How to add a multiselect ComboBox to the edit form

created 8 years ago

Hi,
I want to have a multi select combo box inside my MVCxGridView. Please help me out with the complete details to achieve this.
Please help me by making the changes in the partial view in the attachment.
I am attaching the zip file with contents:

  1. Code of the current Partial View having GridView and combobox.
  2. Image of the how the GridView currently looks like and the combobox after changes should have multi select option.
Comments (1)
IK IK
Irfan Khadrani 8 years ago

    Forgot mention one more thing. The gridview will have 2 columns, one multi select combo box and one textbox.

    Answers approved by DevExpress Support

    created 8 years ago

    Hi Irfan,

    Our ComboBox doesn't support multiselection, however we provide the GridLookup editor which allows selecting multiple items. Please refer to the GridView - How to use GridLookup in EditForm in multiple selection mode example that describes how to add this editor to the grid.

      Show previous comments (1)
      DevExpress Support Team 8 years ago

        Hi Irfan,

        From what I gather, you're using the editing mode in the grid, so this example should perfectly meet your requirements. If you mean that you want the inline editing in your grid, this example works with inline editing - you just need to enable it.

        If this doesn't meet your requirements, please describe them in greater detail.

        IK IK
        Irfan Khadrani 8 years ago

          This ticket Q514371 is the solution for my problem.
          I am trying to achieve it referring this ticket.

          DevExpress Support Team 8 years ago

            OK, feel free to contact me if you need any help with this.

            Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

            Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.