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
420
Initial Value RowEditDialog comboEditor
posted

I have the following code:

name: "Updating",
enableAddRow: true,
enableUpdateRow: true,
enableDeleteRow: false,
startEditTriggers: "click",
editMode: "dialog",
columnSettings: [
{
    columnKey: "Guid",
    required: true,
    editorType: "combo",
    editorOptions: {
    mode: "dropdown",
    dataSource: jQuery.parseJSON(agencies),
    textKey: "Text",
    valueKey: "GUID",
   dropDownOnReadOnly: true,
}
}],

I want the combo to have the initial value set to the value of the column (GUID). Is this possible?

Parents
No Data
Reply
  • 200
    Offline posted

    Hello William

    By design the initially selected value of the igCombo editor provider is the cell value if it is available in the combo`s data source.

    Attached you can find a sample that has same configuration as the one previously sent and the Guid column has an initial value.

    Please test it on your side and feel free to contact me if you have any additional questions.

    guid_combo_sample.zip

Children
No Data