Results 1 to 2 of 2

Thread: Multiline summary row in Grid

  1. #1
    Sencha User
    Join Date
    Mar 2016
    Posts
    44
    Answers
    2

    Default Answered: Multiline summary row in Grid

    I was wondering, Is the any way to make summary multiline row on the Grid?

    toolkit: 'classic',
    theme: 'crisp',

    e.g

    HTML Code:
    columns:[
        { dataIndex: 'text',
           header: 'text ',
           summaryRenderer: function(value, summaryData, dataIndex) {       
                         return Ext.String.format('{0} <br> {1}',value, 'testSecondRow');
       }   }
    ]
    Is that a good way, pure and clean or exist much more 'comfortable' and 'right' way to do that ?

    Thanks for any suggestions.

  2. I suppose that it would depend somewhat on what is in your second row. I don't know of a way to make structural changes to the summary row via configs, so I guess the alternative would be overrides.

  3. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    I suppose that it would depend somewhat on what is in your second row. I don't know of a way to make structural changes to the summary row via configs, so I guess the alternative would be overrides.

Similar Threads

  1. Replies: 0
    Last Post: 7 Jun 2017, 6:47 AM
  2. Replies: 6
    Last Post: 8 Feb 2016, 2:32 PM
  3. Replies: 2
    Last Post: 21 Aug 2014, 10:47 AM
  4. EXTJS 4 Grouping Summary Grid -> Summary Rows Don't Render Bold
    By Syed Huda in forum Sencha Ext JS Q&A
    Replies: 4
    Last Post: 25 Jun 2012, 11:05 PM
  5. Show/ Hide Summary in Live Group Summary Grid
    By LordLuky in forum Ext GWT: Discussion
    Replies: 4
    Last Post: 10 Dec 2009, 6:36 AM

Tags for this Thread

Posting Permissions

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