Designer 1.0.2.2
Windows 7 Pro.
Problem:
Create an ArrayStore.
Add to "data" this string... [[0,'a'],[1,'b]]
I would assume 2 records but it is saving as a string, not an array.
So when I "Load Data" it says "16 records loaded"
Designer 1.0.2.2
Windows 7 Pro.
Problem:
Create an ArrayStore.
Add to "data" this string... [[0,'a'],[1,'b]]
I would assume 2 records but it is saving as a string, not an array.
So when I "Load Data" it says "16 records loaded"
Hi Artistan,
When the object or array editors cannot evaluate an entry for any reason (syntax error, object undefined, etc.) then it will translate it into a string automatically verbatim. I believe the data is storing as a string because you are missing a single-quote after "b". So when that is evaluated, it fails because of a syntax error and then instead stores it as a string. Just add a single-quote after the "b" and it will be good to go.
I added the quote after that, and still no good, "17 records loaded"
I just did that quick test because it is not working in another project I am working on. to large to post.
It works for me: http://clip2net.com/clip/m50071/1278...31510-95kb.png
But with that said, the # of records loaded is showing an incorrect number. However, the data is actually loaded as 2 records. So I will open a ticket to solve the incorrect number that shows after the data is loaded.
Thanks for reporting this!
Thank You.
This is fixed for the next release.
Sweet, thanks.
Attached updated test.
When trying to preview a combo box with the ArrayStore data, preview does not work.
The ArrayStore is VERY useful for me. Allows reuse in multiple areas of the same store.