sunilpalkar

Need help: sorting elements combo box in ArcGIS Java script API

Discussion created by sunilpalkar on Nov 26, 2012
Latest reply on Nov 27, 2012 by sunilpalkar
Hello All
I am using sorting elements in combo box in ArcGIS Java Script API (v.2.8) & for sorting I am using
??? fetchProperties="{sort:[{attribute:'name', descending:false}]}" .

All entries in combo box are sorting excluding ???ALL??? entry.

So I am not able to understand that why ???ALL??? is not sorting ascending. It is displaying at the end but when make ???descending: true??? then its displaying first.

I want to put ???ALL??? in the beginning of the combo-box. Therefore, any help will be great..

Attachments

Outcomes