Results 1 to 2 of 2

Thread: Why is gridpanel actioncolumn getTip not working?

  1. #1
    Sencha User
    Join Date
    Nov 2013
    Posts
    259
    Answers
    4
    Vote Rating
    -10
      0  

    Default Why is gridpanel actioncolumn getTip not working?

    Seems simple, like actioncolumn getTip config should do what API says it does. Why not?

    Code:
                {
                    xtype: 'actioncolumn',
                    text: 'Actions',
                    align: 'center',
                    dataIndex: 'name',
                    items: [{
                            icon: './images/atlas/icons/blue/settings-close-b.png',
                            iconCls: 'actionColumnOneIcon',
                            getTip: function (v, metadata, rec, row, col, store) {
                                return 'delete ' + rec.get('name');
                            },
                            handler: function (grid, rowIndex, colIndex, item, event, record, row) {
                                this.fireEvent('aggHostGridIconClick', grid, record, 'delete');
                            }
                        }
                    ],
                    width: 75
                }

  2. #2
    Sencha User
    Join Date
    Mar 2011
    Location
    Hyderabad
    Posts
    106
    Answers
    10
    Vote Rating
    13
      0  

    Default

    Have tested the below code , it is working fine at my end.

    just add Ext.QuickTips.init();

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •