Our state of the art Gantt chart


Post by tatev »

Hi Bryntum team,
can you please send me an example of searchable input example used in event editor,
I don't want to set items for input beforehand and when typing in input it filters on that items, I want when user types in input ,system makes a call to API and return appropriate items , but not to make API call after writing every character , it should make only after writing 3th character


Post by tatev »

/??????????


Post by mats »

It's Easter holidays over here (i.e. no support). Try

combo = new Combo({
            appendTo        : document.body,
            label           : 'Countries',
            minChars        : 3,
            displayField    : 'name',
            valueField      : 'code',
            filterParamName : 'filter',
            store           : {
                readUrl : 'remotecombo'
            }
        });

Which would consume data in this format which your backend would return:

[
            { name : 'United Arab Emirates', code : 'AE' },
            { name : 'United Kingdom', code : 'GB' },
            { name : 'United States', code : 'US' },
            { name : 'United States Minor Outlying Islands', code : 'UM' }
        ]

Post Reply