Sherzod Posted March 26, 2020 Share Posted March 26, 2020 Try this: function afterrender(sender, eOpts) { var me = sender; var view = me.normalGrid.getView(); view.tip = Ext.create('Ext.tip.ToolTip', { target: view.getId(), delegate: '.x-grid-cell', trackMouse: true, listeners: { beforeshow: function updateTipBody(tip) { return me.cellTip ? tip.update(me.cellTip) : false; } } }); } Sometimes copy/paste inserts "extra" characters... Quote Link to comment Share on other sites More sharing options...
MOGSY Posted March 26, 2020 Share Posted March 26, 2020 Hi I have made a test project with just one TUniStringGrid and added the JS code. The message is this site can't be reached and there is nothing in the console. regards Quote Link to comment Share on other sites More sharing options...
MOGSY Posted March 26, 2020 Share Posted March 26, 2020 Hi I have made a test project with just one TUniStringGrid and added the JS code. The message is this site can't be reached and there is nothing in the console. regards Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 26, 2020 Share Posted March 26, 2020 Just now, MOGSY said: I have made a test project with just one TUniStringGrid and added the JS code. The message is this site can't be reached and there is nothing in the console. Can you please attach the testcase? Quote Link to comment Share on other sites More sharing options...
MOGSY Posted March 26, 2020 Share Posted March 26, 2020 Hi Sherzod Please find attached a test project. I could not send the subfolders since the file size is too large for upload. Regards StringGridTooTip.zip Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 26, 2020 Share Posted March 26, 2020 9 minutes ago, MOGSY said: StringGridTooTip.zip Please use afterrender event. function afterrender(sender, eOpts) { // } Quote Link to comment Share on other sites More sharing options...
MOGSY Posted March 26, 2020 Share Posted March 26, 2020 Hi Sorry about the previous message, in the actual test it was in afterrender. The problem is the same. Regards Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 27, 2020 Share Posted March 27, 2020 5 hours ago, MOGSY said: The problem is the same. Hi, Please create and attach a test case that causes the problem. Quote Link to comment Share on other sites More sharing options...
MOGSY Posted March 27, 2020 Share Posted March 27, 2020 Hi Please see attached zip file. Regards StringGridTooTip.zip 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.