We find another solution which is easy for us to do.. But we facing that we unable to add 3rd button with text in TuniEdit and the 3rd button is same icon with first icon
function beforeInit(sender, config)
{
config.editable=false;
config.triggers = {
search: {
cls: 'x-form-trigger',
handler: function() {
ajaxRequest(sender, '_QSEACH_BANK', []);
}
},
search2: {
cls: 'x-form-search-trigger',
handler: function() {
ajaxRequest(sender, '_ASEACH_BANK', []);
}
},
add: {
text: '+',
handler: function() {
ajaxRequest(sender, '_ADD_BANK', []);
}
}
};
}
how to add a button with text?