View Full Version : Need to use numeric-only uuid's for identifier strategy
17 May 2012, 5:51 AM
Using Sencha 2.0.1, and need number-only (values that can be convertible to Java longs) identifier strategy. How can I go about doing that?
21 May 2012, 6:12 AM
Ext.data.identifier.Uuid will get some alpha and dashes in it.
21 May 2012, 8:14 AM
Right...wondering if there was any way to use UUID without the alpha and dashes...
22 May 2012, 7:01 AM
That´s quite easy:
If you use this on your model define...
identifier : 'sequential'
you will get 1,2,3,4 etc. ids.
Tip, if you store your serverdata to localstorage:
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.