Sherzod Posted January 21, 2022 Share Posted January 21, 2022 21 hours ago, x11 said: да, взять уже готовый ваш код и применить здесь 11 hours ago, Sherzod said: Думаю, в любом случае мы не можем применить готовый выше приведенный код, поскольку это не отдельный компонент, а иконка. Придется модифицировать код. 1. function painted(sender, eOpts) { sender._tip = Ext.create('Ext.tip.ToolTip', { closable: true, align: 'tl', focusOnToFront: true, autoHide: true, autoShow: true, autoScroll: true }); } 2. function childtap(sender, location, eOpts) { if (location.sourceElement && location.sourceElement.className == 'far fa-trash-alt') { //ajaxRequest(sender, "_tap", []) //alert(location.record.data[12]); sender._tip.setHtml(location.record.data[12]); sender._tip.showByTarget(location.sourceElement); } } 1 Link to comment Share on other sites More sharing options...
x11 Posted January 21, 2022 Author Share Posted January 21, 2022 👍👍👍 супер 1 Link to comment Share on other sites More sharing options...
Recommended Posts