source: trunk/web/addons/job_monarch/lib/extjs/examples/remoteload/EmployeeStore.js @ 619

Last change on this file since 619 was 619, checked in by ramonb, 15 years ago

lib/:

  • added new AJAX dependancies: ExtJS, pChart, Lightbox2
File size: 494 bytes
Line 
1/*
2 * Ext JS Library 2.2.1
3 * Copyright(c) 2006-2009, Ext JS, LLC.
4 * licensing@extjs.com
5 *
6 * http://extjs.com/license
7 */
8
9Ext.ns('App');
10
11App.EmployeeStore = function(config) {
12        var config = config || {};
13        config.fields = ['employeeId','firstName','lastName','title','department','telephone','office'];
14        config.id = 'employeeId';
15        config.root = 'employees'
16        App.EmployeeStore.superclass.constructor.call(this, config);
17};
18Ext.extend(App.EmployeeStore, Ext.data.JsonStore);
Note: See TracBrowser for help on using the repository browser.