Page 1 of 1

Display data from multidimensional array stored with JSON in localstorage

Posted: Sat Jan 04, 2014 3:26 pm
by Mats Bergström

I store this multidimensional array in localstorage :
var log = [["a","b","c","d","e"],["1","2","3","4","5"]];
localStorage.log = JSON.stringify(log);

I know I can use JSON.parse to get the array, but how can I display all data in the array in an appery component (maybe a list, grid or table)?

Many thanks


Display data from multidimensional array stored with JSON in localstorage

Posted: Sat Jan 04, 2014 4:13 pm
by Igor

This should help :
http://stackoverflow.com/questions/15...

Also, you can put you data in DB collection and use list service to retrieve values to a list, grid or table components.
http://docs.appery.io/tutorials/build...


Display data from multidimensional array stored with JSON in localstorage

Posted: Sat Jan 04, 2014 8:29 pm
by Mats Bergström

Thank you for your reply. I'm sorry for being ignorant, but as I'm all new to this could you please tell me how to get the data from the Javascript array to the appery component? I am not using the appery backend database only browser localstorage and can get the data to a JavaScript array but don't know how to go from there. Should I use some appery functionality or only JavaScript? Should I create a HTML component or maybe a list in the appery UI and populate it with array data through Javascript? Is there a detailed manual for this?


Display data from multidimensional array stored with JSON in localstorage

Posted: Sat Jan 04, 2014 10:59 pm
by Alena Prykhodko

Display data from multidimensional array stored with JSON in localstorage

Posted: Tue Jul 07, 2015 11:09 am
by Istvan

My question is same ... how can i mapping array from LSV to page component?


Display data from multidimensional array stored with JSON in localstorage

Posted: Tue Jul 07, 2015 12:39 pm
by Illya Stepanov

Select "Storage" to show defined storage variables for further mapping and follow this doc: https://devcenter.appery.io/documenta...


Display data from multidimensional array stored with JSON in localstorage

Posted: Sat Mar 26, 2016 6:50 am
by AndroidApp Developers

how to apply search option more than 5 column in appery.io please help me and be fast.

Thanks


Display data from multidimensional array stored with JSON in localstorage

Posted: Sat Mar 26, 2016 8:38 pm
by Serhii Kulibaba

Hello, please use multiple whwre clauses: https://devcenter.appery.io/documenta...