Imported CollectionView not defined

Posted by: dharric on 11 January 2019, 5:45 pm EST

    • Post Options:
    • Link

    Posted 11 January 2019, 5:45 pm EST

    I am using react in my code a I have imported CollectionView. When I try and use it in the selectedIndexChanged event handler of my combobox I get an error that it is undefined.

    
    import { CollectionView } from 'wijmo/wijmo';
    
    entityChanged = (s) => {
    	this.myCombo.itemsSource = new CollectionView(data);
    }	
    
    
  • Posted 14 January 2019, 12:11 am EST

    Hi,

    We are sorry but we are unable to replicate the issue at our end. Could you please have a look at the following sample and let us know if we are missing something in the sample crucial for the reproduction of the issue:

    https://stackblitz.com/edit/react-hpvqwd?file=index.js

    You may also share a stripped down sample of your own which replicates the issue so that we may investigate it further.

    ~Sharad

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels