Package com.smartgwt.sample.showcase.client.data

Examples of com.smartgwt.sample.showcase.client.data.SupplyCategoryXmlDS


    public Canvas getViewPanel() {
        // Enable offline storage for the two DataSources
        ItemSupplyXmlDS itemSupplyXmlDS =  ItemSupplyXmlDS.getInstance();
        itemSupplyXmlDS.setUseOfflineStorage(true);

        SupplyCategoryXmlDS supplyCategoryXmlDS = SupplyCategoryXmlDS.getInstance();
        //supplyCategoryXmlDS.setUseOfflineStorage(true);

        final ListGrid itemListGrid = new ListGrid();
        itemListGrid.setWidth(350);
        itemListGrid.setHeight(224);
View Full Code Here


        IPickTreeItem departmentItem = new IPickTreeItem();
        departmentItem.setTitle("Department");
        departmentItem.setValueField("name");
        departmentItem.setValueTree(tree);

        SupplyCategoryXmlDS dataSource = SupplyCategoryXmlDS.getInstance();

        IPickTreeItem categoryItem = new IPickTreeItem();
        categoryItem.setTitle("Category");

        categoryItem.setDataSource(dataSource);
View Full Code Here

TOP

Related Classes of com.smartgwt.sample.showcase.client.data.SupplyCategoryXmlDS

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.