-
6 Aug 2010 1:12 AM #1
[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.
-
6 Aug 2010 1:17 AM #2
Fixed in SVN as of revision 2168
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
[3.3 Beta][FIXED-1176] LockingGridViiew, updateSortIcon typo
By mankz in forum Ext 3.x: BugsReplies: 1Last Post: 3 Aug 2010, 9:34 AM -
Get Element of a Columnheader
By uptodate in forum Ext 3.x: Help & DiscussionReplies: 1Last Post: 8 Dec 2009, 5:17 AM -
Grid renderer columnheader
By ThierryCor in forum Ext 3.x: Help & DiscussionReplies: 0Last Post: 31 Aug 2009, 4:39 AM -
Add checkbox to grid columnheader
By Bandorka in forum Ext 2.x: Help & DiscussionReplies: 5Last Post: 12 Feb 2009, 11:41 AM -
[1.2.1] GridView does not reflect SortDir.NONE indicator
By eric taix in forum Ext GWT: Bugs (1.x)Replies: 0Last Post: 28 Jan 2009, 12:33 PM


Reply With Quote