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

Populate list from array #66

Open
larrybg opened this issue Dec 3, 2018 · 0 comments
Open

Populate list from array #66

larrybg opened this issue Dec 3, 2018 · 0 comments

Comments

@larrybg
Copy link

larrybg commented Dec 3, 2018

Hi!
How can I populate the list editor values from an array that I'm loading from the server? For example, in my ajax call I'm receiving the list of users:

success: function( data ){
                    allUsers = Object.assign({},data);
                    console.log(allUsers[0].username);            
                },

I can access username value by:
allUsers[0].username

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