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
110
How to populate the xamComboBox in Runtime using C#
posted

Hi:

I have a xamdatagrid, and I want to show different editor depending the data value form a column, it can be combobox, calendarcontrol etc. .  and the combobox value it dynamics in get it runtime from an unbound array.

How to do it?

Regards,

Joel

 

Parents
No Data
Reply
  • 69686
    posted

    Hello Joe,

    To the best of my knowledge, you will not be able to do that without rebinding the XamDataGrid. The ValueEditors in a cell cannot be changed runtime. You can do that by rebinding it and handling the InitializeRecord event and change the EditorType of the specific field.

    Hope this helps.

Children