Changes between Initial Version and Version 14 of Ticket #6753


Ignore:
Timestamp:
Aug 8, 2012, 10:09:18 PM (8 years ago)
Author:
bill
Comment:

Isn't this working already? dijit/form/DataList, the class used internally for inline <option> tags, extends dojo/store/Memory, so you should be able to add data to it, via myFilteringSelect.store.put(...).

I'll close this but if I misunderstood something you can reopen.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6753

    • Property Status changed from new to closed
    • Property Cc bill Adam Peller added; wildbill removed
    • Property Resolution changed from to fixed
    • Property Component changed from Dijit to Dijit - Form
    • Property Summary changed from FilteringSelect has no way of adding new items to FilteringSelect: way of adding new items
    • Property Milestone changed from to 1.7
    • Property Owner set to haysmark
    • Property Type changed from defect to enhancement
  • Ticket #6753 – Description

    initial v14  
    1 I defined a FilteringSelect dijit in html (using option tags instead of a datastore.).  I've discovered that it is not possible to add a new item to the filtering select after it has been parsed. 
     1I defined a !FilteringSelect dijit in html (using option tags instead of a datastore.).  I've discovered that it is not possible to add a new item to the filtering select after it has been parsed. 
    22
    33Something like dijit.byId('id').addItem(name, value) really needs to be added.