Freeman35 Posted November 8, 2018 Share Posted November 8, 2018 Hello, I'm trying multi colum DBLookUpComboBox. Its code example on this link and my modified code is https://docs.sencha.com/extjs/6.2.0/classic/Ext.form.field.ComboBox.html col2 is my add colum. tpl example from here https://www.sencha.com/forum/showthread.php?7749-Adding-a-MultiColumn-ComboBox&s=94883ddfe5b974125a16f9381b4a44cf&p=49188&viewfull=1#post49188 var states = Ext.create('Ext.data.Store', { fields: ['abbr', 'name', 'col2'], data : [ {"abbr":"AL", "name":"Alabama", "col2":"AAA"}, {"abbr":"AK", "name":"Alaska" , "col2":"BBBB"}, {"abbr":"AZ", "name":"Arizona", "col2":"CCCC"} ] }); Ext.create('Ext.form.ComboBox', { fieldLabel: 'Choose State', store: states, queryMode: 'local', valueField: 'abbr', renderTo: Ext.getBody(), // Template for the dropdown menu. // Note the use of the "x-list-plain" and "x-boundlist-item" class, // this is required to make the items selectable. tpl: Ext.create('Ext.XTemplate', '<ul class="x-list-plain"><tpl for=".">', //'<li role="option" class="x-boundlist-item">{abbr} - {name}</li>', '<li role="option" class="x-boundlist-item"><div class="x-combo-list-item"><div style="position: absolute;left: 0;">{name}</div><div style="position: relative;left: 150;">{col2}</div></div>', '</tpl></ul>' ), // template for the content inside text field displayTpl: Ext.create('Ext.XTemplate', '<tpl for=".">', '{name} - {col2}', '</tpl>' ) }); I need add colum or colums in combobox. extjs can do this since sencha 3 (follow my links) I can set css or style via tpl. But I could'nt, I hope yet. I need help for, 1-) How to add extra field(s) and data's(s) 2-) How to set tpl (if I'm not wrog this mean row style) Thank you. Quote Link to comment Share on other sites More sharing options...
Stemon63 Posted November 9, 2018 Share Posted November 9, 2018 Hi, this is on my request features list from years... :-) Non only multi column, but with an entire DBgrid in popup... And with assisted input on value found (suggestion on first value found while typing, and with no entry on nonfound values.... for true consistent input value) Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted November 10, 2018 Share Posted November 10, 2018 Stay Tuned. We are working for every ticket. 1 Quote Link to comment Share on other sites More sharing options...
Stemon63 Posted November 12, 2018 Share Posted November 12, 2018 WOW!!!! Even with assisted input? (only valid values are allowed?)... Where is ??????????????? :-) Quote Link to comment Share on other sites More sharing options...
Freeman35 Posted October 30, 2019 Author Share Posted October 30, 2019 On 11/10/2018 at 3:27 PM, Hayri ASLAN said: Stay Tuned. We are working for every ticket. Any news about this ? or another... Quote Link to comment Share on other sites More sharing options...
Stemon63 Posted September 9, 2020 Share Posted September 9, 2020 Any news on this IMPORTANT component? Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted September 9, 2020 Share Posted September 9, 2020 2 hours ago, Stemon63 said: Any news on this IMPORTANT component? As this is not a native ExtJS component, I have seen a lot of bugs so I didn't publish it. If I am able to fix the bugs, I will publish it under the UniGUI OpenSource topic. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.