PDA

View Full Version : Extjs grouping sorting with different languages



sarasa
12 May 2017, 12:27 AM
I am using ExtJS 4.2.1 I have a extjs grid with grouping feature. I had given the groupField by Name and groupOrder: DESC. It works perfect. My question is if I have two groups say, "Denied Users" and "Allowed Users" and I always want them in same order Denied to come first then allow, I gave the grouping order Descending.
Will this order be still maintained, if i look in different languages? Does ExtJS grouping sort always take place with english?
Request your help on this

Gary Schlosberg
12 May 2017, 3:45 PM
I suppose it would depend on how you are changing languages. Are you doing something similar to the localization guide?
http://docs.sencha.com/extjs/4.2.1/#!/guide/localization

sarasa
14 May 2017, 7:54 PM
I suppose it would depend on how you are changing languages. Are you doing something similar to the localization guide?
http://docs.sencha.com/extjs/4.2.1/#!/guide/localization


Thank you for reply. We make localisation different way. We pass all strings to be localised to a method and build time it extracts all strings passed in the method and create string tables and passed to localisation team.