Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

How to save dashboard items order?

$
0
0

Hi guys, I'd like to ask you for help. I created DashboardView with 20 items. When my app starts, it's everything OK. Problem shows, when user edits order of the Dashboard items. I don't know how exactly can I store the new order of this items. I tried to save them to database and update them after dashboard commit event, but when I retrieve my data from database and set them to DashboardView, it's wrong - first two pages are completely empty and items starts on third page, second row. I also tried to store the new order of items in Properties(Ti.App.Properties.setList), but this gives me error(attempt to insert non-property list object (...myArray...) for key categories). I use TI SDK 3.2.3 GA, on Mac, app is for iPhone only. If anyone can help me, I'll be so happy. Thank you, Marian


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>