Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    May 2010
    Posts
    3
    Vote Rating
    0
    5hao is on a distinguished road

      0  

    Default [FNR] ColumnHeader.updateSortIcon misses SortDir.NONE

    [FNR] ColumnHeader.updateSortIcon misses SortDir.NONE


    GXT2.2 Beta

    com.extjs.gxt.ui.client.widget.grid.ColumnHeader.updateSortIcon(int colIndex, SortDir dir) does not treat the case when colIndex is matched and dir = SortDir.NONE so that if one calls updateSortIcon(0, SortDir.NONE) the column header will be rendered with 'ascending' styles.

    If one wants to remove the sort arrow from a header one should use something like updateSortIcon(-1, SortDir.NONE) so that the colIndex is not matched and the sorting styles will be removed from all the headers.

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,754
    Vote Rating
    113
    sven is just really nice sven is just really nice sven is just really nice sven is just really nice sven is just really nice

      0  

    Default


    Fixed in SVN as of revision 2168

Similar Threads

  1. Replies: 1
    Last Post: 3 Aug 2010, 9:34 AM
  2. Get Element of a Columnheader
    By uptodate in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 8 Dec 2009, 5:17 AM
  3. Grid renderer columnheader
    By ThierryCor in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 31 Aug 2009, 4:39 AM
  4. Add checkbox to grid columnheader
    By Bandorka in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 12 Feb 2009, 11:41 AM
  5. [1.2.1] GridView does not reflect SortDir.NONE indicator
    By eric taix in forum Ext GWT: Bugs (1.x)
    Replies: 0
    Last Post: 28 Jan 2009, 12:33 PM