The gist of it was  something like every 3rd header click within a certain 
duration of time... it wouldn’t update the sort display.  It literally wouldn't 
react to it.  I have a backup from a few months ago where I recreated the bug 
by accident.  

If there is enough interest, I could create test code to demonstrate the click 
bug.  But it would take me a few hours to extract it from our test environment 
backups and scrub proprietary code away from it.

-Mark 

-----Original Message-----
From: [email protected] [mailto:[email protected]] 
Sent: Thursday, May 02, 2013 1:05 PM
To: [email protected]
Subject: Re: programmatic sort for Spark datagrid, accounting for sort triangle 
state

Hi Mark, can you include a link to the "click bug" or describe what it is? 

----- Original Message -----
From: "Kessler CTR Mark J" <[email protected]> 
To: [email protected] 
Sent: Thursday, May 2, 2013 9:57:08 AM 
Subject: RE: programmatic sort for Spark datagrid, accounting for sort triangle 
state 

I've gone down the road of the sort arrows many times. Manipulating the 
datagrid.columnHeaderGroup.visibleSortIndicatorIndices never seemed to work for 
me. It really is inconsistent and the columns themselves have a to change with 
the sortDescending to get the direction. Then there is that click bug that 
makes some of the sort arrows not update properly. 

For an application developer it may be easier to create a modified GridColumn 
that includes a new custom sort property. Then modify the skin to check for 
that property and the sortDescending to get the direction. Just use 
preventDefault to disable the internal sort arrows 


-Mark 

Reply via email to