View Full Version : Fix a line when sorting
1 Sep 2011, 1:03 PM
I added a sort on a store for a grid panel but it's impossible to specify an ASC and DESC sort for a column. My problem is that I would like that a specific line stands always at the end of my grid.
Do you know how I can do that?
3 Sep 2011, 8:03 AM
You could do it using a renderer on the column but it sounds very strange. You'd effectively be lining up entries from different records on the same row. I can't think why you would want to do that. Is the data for this column not really part of the model?
If you can give more information about why it makes sense to sort this column differently then perhaps we can offer a more concrete solution?
14 Sep 2011, 1:30 AM
In fact the last line of my table is an overall of the other lines. That's why I want to fix it even if I sort my table.
But I'm using a sorter in my store and I think that the sort method is only used on loading page and not when I'm clicking on the sort of the column.
14 Sep 2011, 5:25 AM
I'm increasingly confused about what you're trying to do. Maybe the summary feature would give you what you want?
Powered by vBulletin® Version 4.1.5 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.