PDA

View Full Version : Sort Issue



venomizer
5 Aug 2009, 1:51 AM
I'm currently sorting my store (that my grid populates from) using:


sortInfo: {
field: 'software_title',
direction: 'ASC'
}

This works almost okay, except that it sorts all of the items beginning with an uppercase letter first, then those beginning with a lowercase letter.

Is there anyway I can get it just to sort depending on the first letter, regardless of whether it is uppercase or lowercase (at the moment, I get a group of items at the very bottom because they begin with a lowercase letter).

Cheers

Animal
5 Aug 2009, 1:53 AM
local or remote sorting?

Animal
5 Aug 2009, 1:57 AM
Because for local, you'd use http://extjs.com/deploy/dev/docs/?class=Ext.data.Field&member=sortype

For remote, obviously that's between you and your database.