hi trey,
a few other comments:
- how are you debugging this?
2. the array store thing is probably feasible, but i think you'll find simpler and more robust approaches. i pretty much never use selectRows() for anything these days since passing your data through a store is just much better. it does take some wrapping your head around it though. if you plan to do anything along these lines in the future, i'd suggest taking a little time on this.
3. i saw you mentioned grid -> excel. i dont know what route you were thinking of using, but while the labkey store supports exporting to excel, it appears to be tied to the underlying SQL query, rather than the records in the client-side store. therefore if you're adding values on the client that wont be reflected. however, LABKEY.Utils.convertToExcel can do this. on the client you'd iterate over your store's records, build an excel object and then use this API to return an excel file.