Hi I found that I can get a reference to the array as follows but I do not think I should be accessing "$$user_ARMaster" item because that assumes I know the internal structure which should not be necessary in OOP.
myARMasterStore.getModel().$$user_ARMaster.toArray() Simon On 22/12/2011 9:19 AM, Simon White wrote: > Hi > > If I understand correctly most interaction with stores and widgets is > done through data binding however I would like to know how you find a > specific item in a store. For example I have a widget whose default > values is stored in a database table. I created a store and loaded that > database table into my store and I would like to quickly go to the item > containing the default value so that I can assign it to the widget but I > do not know how this can be done. I guess I am wondering how you get > access to the underlying array. > > I do not want the widget bound to the store I just want to find a > specific item in the store to use as the default for a widget. > > > Thanks, > Simon > > > ------------------------------------------------------------------------------ > Write once. Port to many. > Get the SDK and tools to simplify cross-platform app development. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > http://p.sf.net/sfu/intel-appdev ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
