Author Topic: UIGrid sorting in editor but not on android  (Read 8084 times)

suifcd

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 3
    • View Profile
UIGrid sorting in editor but not on android
« on: April 16, 2014, 10:03:06 PM »
I have a UIGrid to display an ordered list of items.I add items by code,rename all items like "item01",sorting Alphabetic. When I view it in the editor, they are sorted correctrly but when I run the compiled app on my mobile(andriod OS), the items sorted wrong.  Any help would be appreciated.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIGrid sorting in editor but not on android
« Reply #1 on: April 17, 2014, 11:10:47 AM »
The sorting happens on Start() if the UIGrid is enabled. Where are you doing your renaming? Is it also in some Start function?