Save cell value in ComboBox on FlexGrid

Posted by: munemoto on 25 May 2022, 1:49 am EST

    • Post Options:
    • Link

    Posted 25 May 2022, 1:49 am 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.

  • Posted 25 May 2022, 2:23 am EST

    I resolved it myself.

    Now It works completely.

  • Posted 26 May 2022, 3:28 am EST

    Hi,

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

  • Posted 26 May 2022, 4:35 am 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