Results 1 to 2 of 2

Thread: Tooltip on GroupingView/ Collapsable grid

  1. #1

    Default Tooltip on GroupingView/ Collapsable grid

    Here is the Grid collapsable icon in the attached image. I need a tooltip for this.


    OrderDenomDtlGridSummary = Ext.extend(Ext.grid.EditorGridPanel, {

    initComponent: function() {



    this.view = new Ext.grid.GroupingView({
    forceFit:true,
    monitorResize :true,
    monitorWindowResize:true,
    getRowClass : function (record,meta, index) {
    if (record.data.denominationId < 0) {
    return 'x-grid3-tr-orderTotal';
    }
    },
    startGroup: myTpl
    });

    var detailRecord = Ext.data.Record.create([
    {name:'currencyId'},
    {name:'denominationId'},
    {name:'fitness'}

    ]);
    var denomStore = new Ext.data.GroupingStore({
    reader: new Ext.data.JsonReader({root: "rows"},detailRecord),
    sortInfo:{field: 'fitness', direction: "ASC"},
    groupField:'fitness'
    });

    this.store = denomStore;

    }
    }

    =====================================

    this.OrderDenomDtlGridSummary = new OrderDenomDtlGridSummary({
    currencyCountry:this.currency,
    serviceType:this.serviceType,
    anchor:'100%',
    collapsible: true,//
    title: '<cl:message code="title" />',
    toggleTip: {
    text: '<cl:message code="Collapse" />'
    },
    listeners: {
    render: function(c){
    c.toggleTip.target = c.tools['toggle'];
    Ext.QuickTips.register(c.toggleTip);
    },
    expand: function(c){
    c.toggleTip.text = '<cl:message code="Collapse" />';
    },
    collapse: function(c){
    c.toggleTip.text = '<cl:message code="Expand" />';
    }

    }
    });
    Attached Images Attached Images

  2. #2

    Default

    Collapse.jpg

    Please consider this image only.

Similar Threads

  1. disable collapsable headers in GroupingView
    By lvanderree in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 31 Dec 2007, 3:01 AM
  2. Collapsable Grid problem ..
    By hhdark in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 2 Nov 2007, 12:10 AM
  3. Expandable/Collapsable Grid
    By Domitian in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 11 Mar 2007, 1:08 PM

Posting Permissions

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