Save cell value in ComboBox on FlexGrid.

Posted by: munemoto on 24 May 2022, 4:49 pm EST

  • Posted 24 May 2022, 4:49 pm EST

    HI, I have problem of Batchedit in FlexGrid.

    https://docs.grapecity.com/help/c1/aspnet-mvc/aspmvc_helpers/#FlexGridBatchEditing.html

    I changed the cell type of Column 'CategoryName' in sample, Textbox to Combobox.
    I only added Editer(combobox) in ColumnsBuilder

    When I changed 'AAA' to 'BBB' on combobox(selected)
    Controller's requestData has 'AAA' (not 'BBB').

    Why?
    Please let me know how to requestdata.
  • Replied 24 May 2022, 5:23 pm EST

    I resolved it myself.

    Now It works completely.
  • Replied 25 May 2022, 6:28 pm EST

    Hi,
    We are glad to know that your issue has been resolved.

  • Replied 25 May 2022, 7:35 pm EST

    It is very simple.

    I changed 'Category' property type is Enum and {get;set;} to {get;}.
    I understood {get;set;} is correct, {get;} or {set;} is wrong.

    Thx.
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels