chniter / bstreeview

Bootstrap Treeview, A very simple plugin to build a basic and elegant Treeview with bootstrap 4. See the demo:
https://chniter.github.io/bstreeview/
Apache License 2.0
367 stars 53 forks source link

Pass an array instead of a JSON string #3

Closed igorbasko01 closed 4 years ago

igorbasko01 commented 4 years ago

Is your feature request related to a problem? Please describe. Currently the bstreeview expects a string when passing data value. It wasn't clear for me from the README file that it expected a JSON string.

Describe the solution you'd like Would it be better to pass an array filled with dictionaries instead?

Describe alternatives you've considered Also it is possible to update the README file instead, that it would be clear that a JSON string should be passed.

chniter commented 4 years ago

Hello,

Thanks for feedback. Yes i have to pass array instead.

igorbasko01 commented 4 years ago

Would you like that I will make the change?

chniter commented 4 years ago

Any help is welcome :)

chniter commented 4 years ago

Big thanks to @igorbasko01 for help !