Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I am using combo-box in ArcGIS Java script API (ver.2.8). When I update the version to 3.1 it gives an error "TypeError: _2d.store.query is not a function"

Can anybody tell me that "Combo-box" effect is removed in 3.1 version ??

I am trying to make similar type example (Click here)

Any help will be great.. thanks in advance : )

share|improve this question

1 Answer 1

up vote 1 down vote accepted

The newer Javascript api uses the newer versions of ItemFileReadStore and ItemFileWriteStore, which has been re-organized under dojo.data, instead of dojo.store. Check that you're referencing dojo.data.ItemFileReadStore and dojo.data.ItemFileWriteStore to store your results, and replace any references to dojo.store.ItemFileReadStore and dojo.store.ItemFileWriteStore.

share|improve this answer
    
thanks for your reply..it works now for version 3.1 : ) thanks –  Sunil Nov 20 '12 at 10:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.