Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Regression in 4.1d? ListGrid.setGroupByField() must be before ListGrid.setSort() now

    Hi Isomorphic,

    I just changed from current 4.0p to current 4.1d. I noted that the following is not possible any more:
    Code:
    setSort(new SortSpecifier[] { new SortSpecifier("F2", SortDirection.ASCENDING) });
    setGroupByField("STATUS");
    It now has to be:
    Code:
    setGroupByField("STATUS");
    setSort(new SortSpecifier[] { new SortSpecifier("F2", SortDirection.ASCENDING) });
    I get the following warning in the console:
    Code:
    16:38:46.701:MUP0:WARN:Log:Cannot change configuration property 'groupByField' to STATUS now that component isc_LeadlistCreation_0 has been created.
    From a previous post of yours I think this is about forced early initialization.

    Best regards,
    Blama

    #2
    See the doc for setGroupByField() - you should use ListGrid.groupBy() after initialization

    Comment


      #3
      For every one hitting this thread by chance:
      The docs for ListGrid.setGroupByField() are perfectly clear on this, now.

      Also, the early initialization by setSort should be solved since June 2014

      Best regards,
      Blama
      Last edited by Blama; 5 Aug 2014, 04:56. Reason: revisited thread.

      Comment

      Working...
      X