1. #1
    Sencha User
    Join Date
    Jun 2010
    Posts
    3
    Vote Rating
    0
    mwylaoma is on a distinguished road

      0  

    Default Answered: How To Use Two Or More Features In Grid

    Answered: How To Use Two Or More Features In Grid


    How To Use More Than One Features In Grid, Pls Help Me
    For Example,How to Use Summary & GroupingSummary Features In One Grid.
    Thx!!

  2. You can use multiple features as follows:

    Code:
        features: [{
            groupHeaderTpl: 'Subject: {name}',
            ftype: 'groupingsummary'
        },
        {
            ftype: 'summary'
        }               
        ],
    Since both of these particular features display a summary column, you will get duplicates, but you get the idea.

    Scott.

  3. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,991
    Answers
    663
    Vote Rating
    455
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    You can use multiple features as follows:

    Code:
        features: [{
            groupHeaderTpl: 'Subject: {name}',
            ftype: 'groupingsummary'
        },
        {
            ftype: 'summary'
        }               
        ],
    Since both of these particular features display a summary column, you will get duplicates, but you get the idea.

    Scott.

  4. #3
    Sencha User
    Join Date
    Jun 2010
    Posts
    3
    Vote Rating
    0
    mwylaoma is on a distinguished road

      0  

    Default


    Thx,I works.
    By the way,How I can add one summary row on the bottom?
    Last edited by mwylaoma; 29 Aug 2012 at 5:52 PM. Reason: More Question

  5. #4
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,991
    Answers
    663
    Vote Rating
    455
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    You would have to add this yourself. Here are a few UX's that may be of interest:
    http://www.sencha.com/forum/showthread.php?233321

    Scott.

  6. #5
    Sencha User
    Join Date
    Jun 2010
    Posts
    3
    Vote Rating
    0
    mwylaoma is on a distinguished road

      0  

    Default


    Thx,I will try.

Thread Participants: 1

Tags for this Thread