Results 1 to 4 of 4

Thread: Grid grouping issue with DateTime fields

Hybrid View

Previous Post Previous Post   Next Post Next Post
    Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.
  1. #1
    Sencha User
    Join Date
    Jan 2013
    Posts
    5
    Vote Rating
    0
      0  

    Default Grid grouping issue with DateTime fields

    I have problem with grid rows groupping in 4.2.0 beta.
    Store config contains "groupField: 'DateCreate'" where DateCreate is DateTime field with empty time, like this:
    Date {Sun Feb 17 2013 00:00:00 GMT+0600 (Ekaterinburg Standard Time)}
    and for rows with identically date creating separate groups (with same names).
    Another bug - getGroupString working strange. If I assign to store getGroupString function:

    getGroupString: function (instance) {
    return 'A';
    }

    - anyway creating multiple groups (instead one "A").
    In 4.1.3 all working fine (but with a little visual bug with column resize + grouping - column header width != column width after manual resize).

  2. #2
    Sencha User
    Join Date
    Jan 2013
    Posts
    5
    Vote Rating
    0
      0  

    Default

    UPD: In ext-4.2.0.489-beta all groups creating rights, however getGroupString still not pass to groupHeaderTpl.

  3. #3
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    18,377
    Vote Rating
    858
      0  

    Default

    Not really sure what you mean by:

    getGroupString still not pass to groupHeaderTpl.
    Can you provide more detail?
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  4. #4
    Sencha User
    Join Date
    Jan 2013
    Posts
    5
    Vote Rating
    0
      0  

    Default

    If Store has method:
    Code:
    getGroupString: function (instance) {
      return 'A';
    }
    and groupField property set to DateTime field - then in 4.1.3 will created one group with name/value "A". Same code in 4.2.0 beta will create one group (that right) but name/value not "A" but original item value.

Posting Permissions

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