PDA

View Full Version : GroupingStore without highlighting column header



rblon
1 Oct 2009, 4:49 AM
When specifying sortInfo for a store, then the grid using this store will highlight the column header corresponding to the field used for sorting (with an arrow indicating the sort direction). Can this column highlighting be disabled?

I encountered this using GroupingStore, which seems to require the sortInfo parameter. Hence, I cannot avoid the column header being highlighted.

PS I had asked this question in another thread (http://www.extjs.com/forum/showthread.php?p=392252#post392252). As that thread started off with a different question, I will put in a link if there is a solution.

rblon
6 Oct 2009, 3:41 AM
My solution is to set remoteSort: true and use in "sortInfo" a field that is hidden. As i have menuDisabled: true, it is not really an issue to use a hidden field.

It remains unclear to me however why GroupingStore needs the sortInfo parameter, while Store doesn't.