Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TreeView not working #90

Open
dradovic opened this issue May 19, 2020 · 0 comments
Open

TreeView not working #90

dradovic opened this issue May 19, 2020 · 0 comments

Comments

@dradovic
Copy link

I've tried to use the TreeView component of the aurelia-syncfusion-bridge component (11.0.3) but I get the following warning on the console:

Possible Unhandled Promise Rejection: TypeError: jQuery(...)[this.controlName] is not a function
at ejTreeView.createWidget (widget-base.js?9120:60)
at ejTreeView.attached (widget-base.js?9120:151)
at ejTreeView.descriptor.value [as attached] (decorators.js?6f1d:87)
at Controller.attached (aurelia-templating.js?8628:3759)
at View.attached (aurelia-templating.js?8628:1772)
at ViewSlot.attached (aurelia-templating.js?8628:2130)
at View.attached (aurelia-templating.js?8628:1777)
at Controller.attached (aurelia-templating.js?8628:3763)
at View.attached (aurelia-templating.js?8628:1772)
at ViewSlot.attached (aurelia-templating.js?8628:2130)

And the tree view does not collapse or expand when clicking on the items.

This is how I tried to use it:

            <ul id="treeView" ej-tree-view="e-width:250">
                <li class="expanded">
                    Artwork
                    <ul>
                        <li>
                            Abstract
                            <ul>
                                <li>2 Acrylic Mediums</li>
                                <li>Creative Acrylic</li>
                                <li>Modern Painting</li>
                                <li>Canvas Art</li>
                                <li>Black white</li>
                            </ul>
                        </li>
                        <li>
                            Children
                            <ul>
                                <li>Preschool Crafts</li>
                                <li>School-age Crafts</li>
                                <li>Fabulous Toddler</li>
                            </ul>
                        </li>
                        <li>
                            Comic / Cartoon
                            <ul>
                                <li>Batman</li>
                                <li>Adventures of Superman</li>
                                <li>Super boy</li>
                            </ul>
                        </li>
                    </ul>
                </li>
            </ul>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant