Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6644581
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T00:11:02+00:00 2026-05-26T00:11:02+00:00

i am working with Extjs 4 & using Designer 1.2.0 i am facing problems

  • 0

i am working with Extjs 4 & using Designer 1.2.0
i am facing problems with grid’s renderer function that i am using to display tooltip. The grid is placed in tab panel. Everything works fine for first time when i open tab panel,but when i close tab panel & reopen it , the initComponent() does not get called again & so tooltip does not show up & hyperlink effect goes off. What can be solution for this problem?
below is my code :

Ext.define('MyApp.view.ItemManager', {
    extend: 'MyApp.view.ui.ItemManager',

    initComponent: function() {
       Ext.QuickTips.init();
         var me = this;
         me.callParent(arguments);
              me.down('#itemManager').columns[3].renderer=function(value,metaData,record,colIndex,store,view){
                var imgpath="<img style=\'margin: 2px 0;height:150px;width:150px;\' src=\' /items/"+record.data.id +" '/>";

                metaData.tdAttr = 'data-qtip=" '+imgpath +'"' ;
                return '<a href="/items/imgdownload?id='+record.data.id+'">'+ record.data.img_filename +'</a>';
              }
      }
});

However when i write renderer code in ui file generated by exporting project from designer then everything works fine. The problem is if i write renderer in ui file, it will get overwritten everytime i export the project 🙁

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T00:11:02+00:00Added an answer on May 26, 2026 at 12:11 am
    1. Ext.QuickTips.init() should only be called 1 time and needs to be relocated to a global location.
    2. You need to relocate your rendered definition to the actual column it belongs to: { ..., dataIndex : 'myColumn', rendered : function (value, metaData, etc) { return value; }, title : 'My Column Title', ... }

    EDIT

    Below is an example:

    Ext.define('MyApp.view.ItemManager', {
        extend: 'MyApp.view.ui.ItemManager',
    
        initComponent: function() {
            //Ext.QuickTips.init(); // move to global js file. only call once.
            var me = this;
            me.callParent(arguments);
    
            if (!me.down('#itemManager').columns[3].renderer) {
                me.down('#itemManager').columns[3].renderer=function(value,metaData,record,colIndex,store,view) {
                    var imgpath="<img style=\'margin: 2px 0;height:150px;width:150px;\' src=\' /items/"+record.data.id +" '/>";
    
                    metaData.tdAttr = 'data-qtip=" '+imgpath +'"' ;
                    return '<a href="/items/imgdownload?id='+record.data.id+'">'+ record.data.img_filename +'</a>';
                }
            }
        }
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using a star rating plugin with ExtJS that is working well, but
I'm working on some management system using PHP & some ExtJS. Generally, I generate
I am working on my first project using ExtJS. I have a Data Grid
So here's the case that I'm working on: I have an ExtJS grid of
i m working with extjs designer 1.2. I have a button on panel that
I'm using ExtJS to make a form that generates a report from the data
I have a button with a working listener in an ExtJs Data Grid. I
We are using ExtJS for a webapplication. In that application, we use the standard
I am working on a web app that uses Extjs components, PHP, and MySQL.
I've built an app that is using ExtJS that connects through Ajax requests to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.