You found a bug! We've classified it as TOUCH-5409 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User
    Join Date
    Jun 2013
    Posts
    2
    Vote Rating
    0
    Jinishs is on a distinguished road

      0  

    Default Sencha touch grid Summaryrow values disappering.

    Sencha touch grid Summaryrow values disappering.


    Hi,
    I am using Sencha touch grid and I am facing one issue in the development.
    The issue is, if I reorder the columns of the grid using ViewOption plugin, the SummaryRow values get disappered. How do I retain the summary row values after Column reordering?
    I am using Sencha touch 2.3.x

    Thanks in advance!

  2. #2
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    3,978
    Vote Rating
    132
    fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all

      0  

    Default


    Looks like a bug. As a workaround I would check the summaryrow plugin and see if there is a method to redraw/refresh it. May be private so much sure you have the Private box checked in the docs. If one does not exist I would check the grid. Will have to override the viewoptions plugin to redraw after column move. Here's the source: http://docs.sencha.com/touch/2.3.1/s...in-ViewOptions
    Get more personalized support via a support subscription.

    Want to learn Sencha Touch 2? Check out
    Sencha training
    Sencha Touch in Action

    Need more help with your app? Hire Sencha Services services@sencha.com

    When posting code, please use BBCode's CODE tags.

    Need to include a test case use:
    The official Sencha Fiddle

  3. #3
    Sencha User
    Join Date
    Jun 2013
    Posts
    2
    Vote Rating
    0
    Jinishs is on a distinguished road

      0  

    Default Issue Solved

    Issue Solved


    I solved the issue by adding the following code in the painted event of Grid Column
    Ext.getCmp("summaryrowId").doUpdateSummary();

  4. #4
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    3,978
    Vote Rating
    132
    fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all

      0  

    Default


    Thanks for sharing your workaround. I have opened a bug in our bug tracker.

Thread Participants: 1