Having trouble with ACS query
I have custom objects that I am trying to retrieve 2 at a time and display the most recently updated first. The problem is when I set "order=updated_at" or "order=-updated_at" it both pulls the oldest...
View Article5 Buttons Clicked in Order Prompt Alert
Hey all, I wanted to it so that when 5 buttons are pressed in correct order an alert shows, and if buttons are not clicked in order another alert shows... For example: A, B, C, D & E to be pressed...
View ArticleMultiple Buttons Clicked in Order Prompt Alert
Hello, i want to make it so that when 9 buttons are pressed in order an alert is prompted. the code below works with 3 buttons however i want to expand to 9 buttons but I'm finding it very difficult....
View ArticleButton Plays 2 Sounds in Order
Hey all, i want the playButton to play the goatsound first, than play the roostersound. With the code below, they both play at the same time!! please help! var goatsound =...
View ArticleButtons plays 3 sounds in order
Hey all, i want to make a button play 3 sounds in the order that i choose, with the code that i have below,they all play at the same time. note:each sound has a button attached to it and when the sound...
View Article3 Buttons Clicked in Order Prompt Alert
Hey all, I want an alert to appear when 3 buttons are pressed in a specific order. For example i have 3 buttons of 'A', 'B' & 'C'. If buttons are pressed in alphabetical order, an alert will show...
View ArticleHow to save dashboard items order?
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...
View ArticleOptionDialog - sorting / order of the possible options gets scrambled
I'm generating an OptionDialog based on a hash of key:label pairs, where the key is a value that is send to an API. The order of the hash gets scrambled when I'm generating an array for the...
View ArticleHow to sort a collection, particularly descending
I was going to ask this question, but I found an answer so I thought I should post it since I hadn't seen this in the Q&A. Is this the most appropriate way to handle sorting a collection? Sort in...
View ArticleSave reordered tableview data in db?
Hi there, I have a tableview which the user can reorder the items and that's great. However, when the user closes the app, the reordering is lost. Btw, the data is stored in a sqlite database. Does...
View Articlesqlite question (pro, I think)
I don't really know how to get this problem solved. I want to order a sql request by field which is changed before. Let's say the sql is as follow:SELECT title FROM library ORDER BY author ASCThe...
View Articlenode.ACS CustomObjects order not correct
Does Cloud.Objects.query order by work like this? I'm guess not because it's not working for me. I created a custom object (Provider) that contains a string name lastName. I then loop through the list...
View ArticleUsing order with Cloud.Objects
Does Cloud.Objects.query order by work like this? I'm guess not because it's not working for me. I created a custom object (Provider) that contains a string name lastName. I then loop through the list...
View ArticleOrder tableviewrow by calculated distance
Hi guys, can anyone help me out with ordering tableviewrows by calculated distance. I've got a while loop where I fetch all the data from my database. Inside my while loop I calculate the distance for...
View ArticleACS Order place by nearest
Hello. I am trying to order at list by nearest place. This is working fine with this code:Cloud.Places.query({ page: 1, per_page: 20, where: { lnglat: { '$nearSphere': [latitudefast,longitudefast], }...
View ArticleUse "order" in ACS Query.
Im trying to order ACS photos query but "order = created_at" doesnt seem to work. Tips anyone? Codesnippet: Cloud.Photos.query({ page: 1, per_page: 100, order = created_at, }, function (e) { for (var i...
View ArticleSorting of database information
Hi i have a local database when called, are not sorted in alphabetical order. what it does not is just pulling out data from the database in the order i saved it initially. I would like my database...
View ArticleACS - Custom Object Sorting Not Working
Hello, It seems that when I request returned results to be order by any custom field (i.e. not last_updated etc..) on a custom object, the returned results are in any order. Code: var sdk = new...
View ArticleSwap children in horizontal view
Hi, I have a horizontal view and I need to swap the children so that two elements take each other's original position. Now myView.children is read-only , is there some way in which the following can be...
View Articledisable json.parse sort
Is there a way to disable the standard sorting in a json.parse ? i put in a object with {[1]{item:sad,item2:asda},[2]{item:sdasdw,item2:123a}) and so on.. and it gives them back in an order not...
View Article