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

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


        listGrid.setDataSource(dataSource);
        dynamicForm.setDataSource(dataSource);

        // to demonstrate grid editors, add sample data and start editing

        listGrid.setData(new ItemRecord[]{new ItemRecord(123, "Sample Item", "1091600", null, "Rollfix Glue", "Ea", 3.73, null, null)});
        listGrid.startEditing();

        // to demonstrate validation, use values that will fail validation
        dynamicForm.setValue("unitCost", -1.234);
        dynamicForm.setValue("SKU", "thisSkuIsWayTooLong");
View Full Code Here

TOP

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

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.