Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Question about ComboboxItem

$
0
0
Hi,

We have a question about the ComboboxItem.

For a SelectItem, if it is on focus and we press the down/up arrow, the value of the item gets changed depending on the available list.

Is there anyway we can achieve the same function for a ComboboxItem? We are using SmartClient_v83p_2015-03-27_PowerEdition.

Please try the following standalone with the following steps:

1. Put the focus on Combobox field, press down arrow on keyboard. Nothing happens.

2. Put the focus on Select field, press down arrow, the value of this field is changed to the first option in the drop-down list. Press up/down again we can change the value of the field.

Code:

isc.DynamicForm.create({
    width: 500,
    numCols: 4,
    fields : [{
        title: "ComboBox",
        editorType: "comboBox",
        valueMap : {
            "A" : "AA",
            "B" : "BB"
        }
    },
                {title: "Select",
                editorType:"select",       
                valueMap : {
                        "A" : "AA",
            "B" : "BB"
        }}
                ]
});


Viewing all articles
Browse latest Browse all 4756

Trending Articles