How can I handle ComboBox selected index changing?

前端 未结 10 1242
花落未央
花落未央 2020-12-21 06:10

I have a ComboBox that have a list of manufacturers. When a user selects a manufacturer, a grid below is populated with data for the chosen manufacturer. That data can be mo

10条回答
  •  死守一世寂寞
    2020-12-21 06:41

    An easy way to keep track of unsaved changes.

    After loading any original values, disable the "Save" button.

    When the user attempts to leave, check to see if the "Save" button is enabled.

    Enable or disable the "Save" button as required.

提交回复
热议问题