In using setValue for the ItemSelector, I find that I need to use something like "[0,1001,1002,1003,0]" instead of "[1001,1002,1003]" (in which case the first and last do not show up).

When I use firebug console -- e.g.,
Ext.getCmp('affschools-selector').setValue([1038,1024,1037,1027,1036,1025]);
-- works fine - all 6 values show up.

But in code - (an MVC app) when I do a store load, then use Ext.Pluck to get the values; then JSON.encode; then same Ext.getCmp('affschools-selector').setValue([1038,1024,1037,1027,1036,1025]);
-- first and last entries do not show up.

I do not know if this is a bug.
My workaround of prepending and appending '0' seems to indicate some parsing "fluke".

Please advise a better way to do this (another/better workaround ?), or confirm that it might be a bug.

Also please let me know if you need additional info.

Thanks
Gary