Skip to content

Update/Set options after dropdown has been initialized. #5

@mstesson

Description

@mstesson

If the data is set from an ajax call that might be slow, then I want to be able to: 1) Before the ajax call, init the dropdown with an empty data array, just so that it's rendered with its button and root spans. 2) When ajax call is complete and the data comes, then set the data array on the dropdown.

As it works now, if I call DropDownTree() twice it is rendered twice, which is not what I want.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions