Logo

Ramon Pinho's X-Combo Component

X-Combo
Theme:
Select: Current selected language Change to Portuguese
A combo with 24 itens, displaying 15 of them at once.
Select one greek letter please:
Simple to use just like that:
    var _combo1 = new XCombo("xcombo1", XComboData);
    _combo1.maxItens = 15;
                    
Note that Select... is an option to select, selecting it would reset do null = none selected.
A combo with 5 animal types.
Select an animal:
Now, how is the code:
    var config2 = {
        MaxItens: 5,
        Required: true        
    }
    var _xCombo2 = new XCombo("xcombo2", Data2, config2);
                    
Note that with Required setting to true, when expanding the options the Select... will not be available, because a value MUST be selected. Not selected is not an option.