a:78:{s:9:"#provides";s:19:"dojox.grid.DataGrid";s:9:"#resource";s:16:"grid/DataGrid.js";s:9:"#requires";a:2:{i:0;a:2:{i:0;s:6:"common";i:1;s:16:"dojox.grid._Grid";}i:1;a:2:{i:0;s:6:"common";i:1;s:24:"dojox.grid.DataSelection";}}s:24:"dojox.grid.__DataCellDef";a:6:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:20:"dojox.grid.__CellDef";}s:4:"call";a:1:{i:0;s:20:"dojox.grid.__CellDef";}}s:6:"source";s:521:"dojo.provide("dojox.grid.DataGrid"); dojo.require("dojox.grid._Grid"); dojo.require("dojox.grid.DataSelection"); dojo.declare("dojox.grid.__DataCellDef", dojox.grid.__CellDef, { constructor: function(){ // field: String? // The attribute to read from the dojo.data item for the row. // get: Function? // function(rowIndex, item?){} rowIndex is of type Integer, item is of type // Object. This function will be called when a cell requests data. Returns // the unformatted data for the cell.";s:7:"private";b:1;s:9:"classlike";b:1;s:7:"summary";s:0:"";}s:24:"dojox.grid.__DataViewDef";a:6:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:20:"dojox.grid.__ViewDef";}s:4:"call";a:1:{i:0;s:20:"dojox.grid.__ViewDef";}}s:6:"source";s:1056:"dojo.provide("dojox.grid.DataGrid"); dojo.require("dojox.grid._Grid"); dojo.require("dojox.grid.DataSelection"); dojo.declare("dojox.grid.__DataCellDef", dojox.grid.__CellDef, { constructor: function(){ // field: String? // The attribute to read from the dojo.data item for the row. // get: Function? // function(rowIndex, item?){} rowIndex is of type Integer, item is of type // Object. This function will be called when a cell requests data. Returns // the unformatted data for the cell. } }); dojo.declare("dojox.grid.__DataViewDef", dojox.grid.__ViewDef, { constructor: function(){ // cells: dojox.grid.__DataCellDef[]|Array[dojox.grid.__DataCellDef[]]? // The structure of the cells within this grid. // defaultCell: dojox.grid.__DataCellDef? // A cell definition with default values for all cells in this view. If // a property is defined in a cell definition in the "cells" array and // this property, the cell definition's property will override this // property's property.";s:7:"private";b:1;s:9:"classlike";b:1;s:7:"summary";s:0:"";}s:19:"dojox.grid.DataGrid";a:4:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:16:"dojox.grid._Grid";}s:4:"call";a:1:{i:0;s:16:"dojox.grid._Grid";}}s:9:"classlike";b:1;s:7:"summary";s:0:"";}s:25:"dojox.grid.DataGrid.store";a:3:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:8:"instance";s:19:"dojox.grid.DataGrid";s:7:"summary";s:0:"";}s:25:"dojox.grid.DataGrid.query";a:3:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:8:"instance";s:19:"dojox.grid.DataGrid";s:7:"summary";s:0:"";}s:32:"dojox.grid.DataGrid.queryOptions";a:3:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:8:"instance";s:19:"dojox.grid.DataGrid";s:7:"summary";s:0:"";}s:29:"dojox.grid.DataGrid.fetchText";a:2:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:7:"summary";s:0:"";}s:29:"dojox.grid.DataGrid.structure";a:3:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:4:"type";s:111:"dojox.grid.__DataViewDef|dojox.grid.__DataViewDef[]|dojox.grid.__DataCellDef[]|Array[dojox.grid.__DataCellDef[]";s:7:"summary";s:22:"View layout defintion.";}s:25:"dojox.grid.DataGrid.items";a:3:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:8:"instance";s:19:"dojox.grid.DataGrid";s:7:"summary";s:0:"";}s:35:"dojox.grid.DataGrid._store_connects";a:4:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:8:"instance";s:19:"dojox.grid.DataGrid";s:7:"private";b:1;s:7:"summary";s:0:"";}s:28:"dojox.grid.DataGrid._by_idty";a:4:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:8:"instance";s:19:"dojox.grid.DataGrid";s:7:"private";b:1;s:7:"summary";s:0:"";}s:27:"dojox.grid.DataGrid._by_idx";a:4:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:8:"instance";s:19:"dojox.grid.DataGrid";s:7:"private";b:1;s:7:"summary";s:0:"";}s:26:"dojox.grid.DataGrid._cache";a:4:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:8:"instance";s:19:"dojox.grid.DataGrid";s:7:"private";b:1;s:7:"summary";s:0:"";}s:26:"dojox.grid.DataGrid._pages";a:4:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:8:"instance";s:19:"dojox.grid.DataGrid";s:7:"private";b:1;s:7:"summary";s:0:"";}s:37:"dojox.grid.DataGrid._pending_requests";a:4:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:8:"instance";s:19:"dojox.grid.DataGrid";s:7:"private";b:1;s:7:"summary";s:0:"";}s:24:"dojox.grid.DataGrid._bop";a:4:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:8:"instance";s:19:"dojox.grid.DataGrid";s:7:"private";b:1;s:7:"summary";s:0:"";}s:24:"dojox.grid.DataGrid._eop";a:4:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:8:"instance";s:19:"dojox.grid.DataGrid";s:7:"private";b:1;s:7:"summary";s:0:"";}s:29:"dojox.grid.DataGrid._requests";a:3:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:7:"private";b:1;s:7:"summary";s:0:"";}s:28:"dojox.grid.DataGrid.rowCount";a:3:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:8:"instance";s:19:"dojox.grid.DataGrid";s:7:"summary";s:0:"";}s:29:"dojox.grid.DataGrid._isLoaded";a:4:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:8:"instance";s:19:"dojox.grid.DataGrid";s:7:"private";b:1;s:7:"summary";s:0:"";}s:30:"dojox.grid.DataGrid._isLoading";a:4:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:8:"instance";s:19:"dojox.grid.DataGrid";s:7:"private";b:1;s:7:"summary";s:0:"";}s:30:"dojox.grid.DataGrid.postCreate";a:4:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:4:"type";s:8:"Function";s:6:"source";s:203:" this._pages = []; this._store_connects = []; this._by_idty = {}; this._by_idx = []; this._cache = []; this._pending_requests = {}; this._setStore(this.store); this.inherited(arguments);";s:7:"summary";s:0:"";}s:35:"dojox.grid.DataGrid.createSelection";a:4:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:4:"type";s:8:"Function";s:6:"source";s:54:" this.selection = new dojox.grid.DataSelection(this);";s:7:"summary";s:0:"";}s:23:"dojox.grid.DataGrid.get";a:5:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:10:"inRowIndex";a:1:{s:4:"type";s:0:"";}s:6:"inItem";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:115:" return (!inItem ? this.defaultValue : (!this.field ? this.value : this.grid.store.getValue(inItem, this.field)));";s:7:"summary";s:0:"";}s:26:"dojox.grid.DataGrid._onSet";a:6:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:4:"type";s:8:"Function";s:10:"parameters";a:4:{s:4:"item";a:1:{s:4:"type";s:0:"";}s:9:"attribute";a:1:{s:4:"type";s:0:"";}s:8:"oldValue";a:1:{s:4:"type";s:0:"";}s:8:"newValue";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:78:" var idx = this.getItemIndex(item); if(idx>-1){ this.updateRow(idx); }";s:7:"private";b:1;s:7:"summary";s:0:"";}s:28:"dojox.grid.DataGrid._addItem";a:6:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:4:"type";s:8:"Function";s:10:"parameters";a:3:{s:4:"item";a:1:{s:4:"type";s:0:"";}s:5:"index";a:1:{s:4:"type";s:0:"";}s:8:"noUpdate";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:286:" var idty = this._hasIdentity ? this.store.getIdentity(item) : dojo.toJson(this.query) + ":idx:" + index + ":sort:" + dojo.toJson(this.getSortProps()); var o = { idty: idty, item: item }; this._by_idty[idty] = this._by_idx[index] = o; if(!noUpdate){ this.updateRow(index); }";s:7:"private";b:1;s:7:"summary";s:0:"";}s:26:"dojox.grid.DataGrid._onNew";a:6:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:4:"item";a:1:{s:4:"type";s:0:"";}s:10:"parentInfo";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:184:" var rowCount = this.attr('rowCount'); this._addingItem = true; this.updateRowCount(rowCount+1); this._addingItem = false; this._addItem(item, rowCount); this.showMessage();";s:7:"private";b:1;s:7:"summary";s:0:"";}s:29:"dojox.grid.DataGrid._onDelete";a:6:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"item";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:292:" var idx = this._getItemIndex(item, true); if(idx >= 0){ var o = this._by_idx[idx]; this._by_idx.splice(idx, 1); delete this._by_idty[o.idty]; this.updateRowCount(this.attr('rowCount')-1); if(this.attr('rowCount') === 0){ this.showMessage(this.noDataMessage); } }";s:7:"private";b:1;s:7:"summary";s:0:"";}s:29:"dojox.grid.DataGrid._onRevert";a:5:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:4:"type";s:8:"Function";s:6:"source";s:18:" this._refresh();";s:7:"private";b:1;s:7:"summary";s:0:"";}s:28:"dojox.grid.DataGrid.setStore";a:5:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:4:"type";s:8:"Function";s:10:"parameters";a:3:{s:5:"store";a:1:{s:4:"type";s:0:"";}s:5:"query";a:1:{s:4:"type";s:0:"";}s:12:"queryOptions";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:86:" this._setQuery(query, queryOptions); this._setStore(store); this._refresh(true);";s:7:"summary";s:0:"";}s:28:"dojox.grid.DataGrid.setQuery";a:5:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:5:"query";a:1:{s:4:"type";s:0:"";}s:12:"queryOptions";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:61:" this._setQuery(query, queryOptions); this._refresh(true);";s:7:"summary";s:0:"";}s:28:"dojox.grid.DataGrid.setItems";a:5:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:5:"items";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:74:" this.items = items; this._setStore(this.store); this._refresh(true);";s:7:"summary";s:0:"";}s:29:"dojox.grid.DataGrid._setQuery";a:6:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:5:"query";a:1:{s:4:"type";s:0:"";}s:12:"queryOptions";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:80:" this.query = query; this.queryOptions = queryOptions || this.queryOptions; ";s:7:"private";b:1;s:7:"summary";s:0:"";}s:29:"dojox.grid.DataGrid._setStore";a:6:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:5:"store";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:736:" if(this.store&&this._store_connects){ dojo.forEach(this._store_connects,function(arr){ dojo.forEach(arr, dojo.disconnect); }); } this.store = store; if(this.store){ var f = this.store.getFeatures(); var h = []; this._canEdit = !!f["dojo.data.api.Write"] && !!f["dojo.data.api.Identity"]; this._hasIdentity = !!f["dojo.data.api.Identity"]; if(!!f["dojo.data.api.Notification"] && !this.items){ h.push(this.connect(this.store, "onSet", "_onSet")); h.push(this.connect(this.store, "onNew", "_onNew")); h.push(this.connect(this.store, "onDelete", "_onDelete")); } if(this._canEdit){ h.push(this.connect(this.store, "revert", "_onRevert")); } this._store_connects = h; }";s:7:"private";b:1;s:7:"summary";s:0:"";}s:33:"dojox.grid.DataGrid._onFetchBegin";a:6:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:4:"size";a:1:{s:4:"type";s:0:"";}s:3:"req";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:262:" if(this.rowCount != size){ if(req.isRender){ this.scroller.init(size, this.keepRows, this.rowsPerPage); this.rowCount = size; this._setAutoHeightAttr(this.autoHeight, true); this.prerender(); }else{ this.updateRowCount(size); } }";s:7:"private";b:1;s:7:"summary";s:0:"";}s:36:"dojox.grid.DataGrid._onFetchComplete";a:6:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:5:"items";a:1:{s:4:"type";s:0:"";}s:3:"req";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:663:" if(items && items.length > 0){ //console.log(items); dojo.forEach(items, function(item, idx){ this._addItem(item, req.start+idx, true); }, this); this.updateRows(req.start, items.length); if(req.isRender){ this.setScrollTop(0); this.postrender(); }else if(this._lastScrollTop){ this.setScrollTop(this._lastScrollTop); } } delete this._lastScrollTop; if(!this._isLoaded){ this._isLoading = false; this._isLoaded = true; if(!items || !items.length){ this.showMessage(this.noDataMessage); this.focus.initFocusView(); }else{ this.showMessage(); } } this._pending_requests[req.start] = false;";s:7:"private";b:1;s:7:"summary";s:0:"";}s:33:"dojox.grid.DataGrid._onFetchError";a:6:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:3:"err";a:1:{s:4:"type";s:0:"";}s:3:"req";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:201:" console.log(err); delete this._lastScrollTop; if(!this._isLoaded){ this._isLoading = false; this._isLoaded = true; this.showMessage(this.errorMessage); } this.onFetchError(err, req);";s:7:"private";b:1;s:7:"summary";s:0:"";}s:32:"dojox.grid.DataGrid.onFetchError";a:5:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:3:"err";a:1:{s:4:"type";s:0:"";}s:3:"req";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:0:"";s:7:"summary";s:0:"";}s:26:"dojox.grid.DataGrid._fetch";a:6:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:5:"start";a:1:{s:4:"type";s:0:"";}s:8:"isRender";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:1523:" var start = start || 0; if(this.store && !this._pending_requests[start]){ if(!this._isLoaded && !this._isLoading){ this._isLoading = true; this.showMessage(this.loadingMessage); } this._pending_requests[start] = true; //console.log("fetch: ", start); try{ if(this.items){ var items = this.items; var store = this.store; this.rowsPerPage = items.length var req = { start: start, count: this.rowsPerPage, isRender: isRender }; this._onFetchBegin(items.length, req); // Load them if we need to var waitCount = 0; dojo.forEach(items, function(i){ if(!store.isItemLoaded(i)){ waitCount++; } }); if(waitCount === 0){ this._onFetchComplete(items, req); }else{ var onItem = function(item){ waitCount--; if(waitCount === 0){ this._onFetchComplete(items, req); } }; dojo.forEach(items, function(i){ if(!store.isItemLoaded(i)){ store.loadItem({item: i, onItem: onItem, scope: this}); } }, this); } }else{ this.store.fetch({ start: start, count: this.rowsPerPage, query: this.query, sort: this.getSortProps(), queryOptions: this.queryOptions, isRender: isRender, onBegin: dojo.hitch(this, "_onFetchBegin"), onComplete: dojo.hitch(this, "_onFetchComplete"), onError: dojo.hitch(this, "_onFetchError") }); } }catch(e){ this._onFetchError(e); } }";s:7:"private";b:1;s:7:"summary";s:0:"";}s:30:"dojox.grid.DataGrid._clearData";a:5:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:4:"type";s:8:"Function";s:6:"source";s:171:" this.updateRowCount(0); this._by_idty = {}; this._by_idx = []; this._pages = []; this._bop = this._eop = -1; this._isLoaded = false; this._isLoading = false;";s:7:"private";b:1;s:7:"summary";s:0:"";}s:27:"dojox.grid.DataGrid.getItem";a:5:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:3:"idx";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:131:" var data = this._by_idx[idx]; if(!data||(data&&!data.item)){ this._preparePage(idx); return null; } return data.item;";s:7:"summary";s:0:"";}s:32:"dojox.grid.DataGrid.getItemIndex";a:5:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"item";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:41:" return this._getItemIndex(item, false);";s:7:"summary";s:0:"";}s:33:"dojox.grid.DataGrid._getItemIndex";a:6:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:4:"item";a:1:{s:4:"type";s:0:"";}s:9:"isDeleted";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:311:" if(!isDeleted && !this.store.isItem(item)){ return -1; } var idty = this._hasIdentity ? this.store.getIdentity(item) : null; for(var i=0, l=this._by_idx.length; i= this._eop) && !this._addingItem){ var pageIndex = this._rowToPage(inRowIndex); this._needPage(pageIndex); this._bop = pageIndex * this.rowsPerPage; this._eop = this._bop + (this.rowsPerPage || this.attr('rowCount')); }";s:7:"private";b:1;s:7:"summary";s:0:"";}s:29:"dojox.grid.DataGrid._needPage";a:6:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:11:"inPageIndex";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:107:" if(!this._pages[inPageIndex]){ this._pages[inPageIndex] = true; this._requestPage(inPageIndex); }";s:7:"private";b:1;s:7:"summary";s:0:"";}s:32:"dojox.grid.DataGrid._requestPage";a:6:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:11:"inPageIndex";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:290:" var row = this._pageToRow(inPageIndex); var count = Math.min(this.rowsPerPage, this.attr('rowCount') - row); if(count > 0){ this._requests++; if(!this._requestsPending(row)){ setTimeout(dojo.hitch(this, "_fetch", row, false), 1); //this.requestRows(row, count); } }";s:7:"private";b:1;s:7:"summary";s:0:"";}s:31:"dojox.grid.DataGrid.getCellName";a:5:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:6:"inCell";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:47:" return inCell.field; //console.log(inCell);";s:7:"summary";s:0:"";}s:28:"dojox.grid.DataGrid._refresh";a:6:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:8:"isRender";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:48:" this._clearData(); this._fetch(0, isRender);";s:7:"private";b:1;s:7:"summary";s:0:"";}s:24:"dojox.grid.DataGrid.sort";a:4:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:4:"type";s:8:"Function";s:6:"source";s:58:" this._lastScrollTop = this.scrollTop; this._refresh();";s:7:"summary";s:0:"";}s:27:"dojox.grid.DataGrid.canSort";a:4:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:4:"type";s:8:"Function";s:6:"source";s:28:" return (!this._isLoading);";s:7:"summary";s:0:"";}s:32:"dojox.grid.DataGrid.getSortProps";a:4:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:4:"type";s:8:"Function";s:6:"source";s:293:" var c = this.getCell(this.getSortIndex()); if(!c){ return null; }else{ var desc = c["sortDesc"]; var si = !(this.sortInfo>0); if(typeof desc == "undefined"){ desc = si; }else{ desc = si ? !desc : desc; } return [{ attribute: c.field, descending: desc }]; }";s:7:"summary";s:0:"";}s:33:"dojox.grid.DataGrid.styleRowState";a:5:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:5:"inRow";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:273:" if(this.store && this.store.getState){ var states=this.store.getState(inRow.index), c=''; for(var i=0, ss=["inflight", "error", "inserting"], s; s=ss[i]; i++){ if(states[s]){ c = ' dojoxGridRow-' + s; break; } } inRow.customClasses += c; }";s:7:"summary";s:19:"Perform row styling";}s:30:"dojox.grid.DataGrid.onStyleRow";a:5:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:5:"inRow";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:57:" this.styleRowState(inRow); this.inherited(arguments);";s:7:"summary";s:0:"";}s:27:"dojox.grid.DataGrid.canEdit";a:5:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:6:"inCell";a:1:{s:4:"type";s:0:"";}s:10:"inRowIndex";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:23:" return this._canEdit;";s:7:"summary";s:0:"";}s:29:"dojox.grid.DataGrid._copyAttr";a:6:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:3:"idx";a:1:{s:4:"type";s:0:"";}s:4:"attr";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:108:" var row = {}; var backstop = {}; var src = this.getItem(idx); return this.store.getValue(src, attr);";s:7:"private";b:1;s:7:"summary";s:0:"";}s:31:"dojox.grid.DataGrid.doStartEdit";a:5:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:6:"inCell";a:1:{s:4:"type";s:0:"";}s:10:"inRowIndex";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:146:" if(!this._cache[inRowIndex]){ this._cache[inRowIndex] = this._copyAttr(inRowIndex, inCell.field); } this.onStartEdit(inCell, inRowIndex);";s:7:"summary";s:0:"";}s:35:"dojox.grid.DataGrid.doApplyCellEdit";a:5:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:4:"type";s:8:"Function";s:10:"parameters";a:3:{s:7:"inValue";a:1:{s:4:"type";s:0:"";}s:10:"inRowIndex";a:1:{s:4:"type";s:0:"";}s:10:"inAttrName";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:669:" this.store.fetchItemByIdentity({ identity: this._by_idx[inRowIndex].idty, onItem: dojo.hitch(this, function(item){ var oldValue = this.store.getValue(item, inAttrName); if(typeof oldValue == 'number'){ inValue = isNaN(inValue) ? inValue : parseFloat(inValue); }else if(typeof oldValue == 'boolean'){ inValue = inValue == 'true' ? true : inValue == 'false' ? false : inValue; }else if(oldValue instanceof Date){ var asDate = new Date(inValue); inValue = isNaN(asDate.getTime()) ? inValue : asDate; } this.store.setValue(item, inAttrName, inValue); this.onApplyCellEdit(inValue, inRowIndex, inAttrName); }) });";s:7:"summary";s:0:"";}s:32:"dojox.grid.DataGrid.doCancelEdit";a:6:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:10:"inRowIndex";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:165:" var cache = this._cache[inRowIndex]; if(cache){ this.updateRow(inRowIndex); delete this._cache[inRowIndex]; } this.onCancelEdit.apply(this, arguments);";s:6:"chains";a:1:{s:4:"call";a:1:{i:0;s:17:"this.onCancelEdit";}}s:7:"summary";s:0:"";}s:31:"dojox.grid.DataGrid.doApplyEdit";a:5:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:10:"inRowIndex";a:1:{s:4:"type";s:0:"";}s:10:"inDataAttr";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:268:" var cache = this._cache[inRowIndex]; /*if(cache){ var data = this.getItem(inRowIndex); if(this.store.getValue(data, inDataAttr) != cache){ this.update(cache, data, inRowIndex); } delete this._cache[inRowIndex]; }*/ this.onApplyEdit(inRowIndex);";s:7:"summary";s:0:"";}s:38:"dojox.grid.DataGrid.removeSelectedRows";a:5:{s:9:"prototype";s:19:"dojox.grid.DataGrid";s:4:"type";s:8:"Function";s:6:"source";s:205:" if(this._canEdit){ this.edit.apply(); var items = this.selection.getSelected(); if(items.length){ dojo.forEach(items, this.store.deleteItem, this.store); this.selection.clear(); } }";s:7:"summary";s:39:"Remove the selected rows from the grid.";s:6:"chains";a:1:{s:4:"call";a:1:{i:0;s:9:"this.edit";}}}s:29:"dojox.grid.DataGrid.selection";a:2:{s:8:"instance";s:19:"dojox.grid.DataGrid";s:7:"summary";s:0:"";}s:31:"dojox.grid.DataGrid._addingItem";a:3:{s:8:"instance";s:19:"dojox.grid.DataGrid";s:7:"private";b:1;s:7:"summary";s:0:"";}s:28:"dojox.grid.DataGrid._canEdit";a:3:{s:8:"instance";s:19:"dojox.grid.DataGrid";s:7:"private";b:1;s:7:"summary";s:0:"";}s:32:"dojox.grid.DataGrid._hasIdentity";a:3:{s:8:"instance";s:19:"dojox.grid.DataGrid";s:7:"private";b:1;s:7:"summary";s:0:"";}s:31:"dojox.grid.DataGrid.rowsPerPage";a:2:{s:8:"instance";s:19:"dojox.grid.DataGrid";s:7:"summary";s:0:"";}s:34:"dojox.grid.DataGrid._lastScrollTop";a:3:{s:8:"instance";s:19:"dojox.grid.DataGrid";s:7:"private";b:1;s:7:"summary";s:0:"";}s:33:"dojox.grid.DataGrid.markupFactory";a:4:{s:4:"type";s:8:"Function";s:10:"parameters";a:4:{s:5:"props";a:1:{s:4:"type";s:0:"";}s:4:"node";a:1:{s:4:"type";s:0:"";}s:4:"ctor";a:1:{s:4:"type";s:0:"";}s:8:"cellFunc";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:280:" return dojox.grid._Grid.markupFactory(props, node, ctor, function(node, cellDef){ var field = dojo.trim(dojo.attr(node, "field")||""); if(field){ cellDef.field = field; } cellDef.field = cellDef.field||cellDef.name; if(cellFunc){ cellFunc(node, cellDef); } });";s:7:"summary";s:0:"";}s:10:"dojox.grid";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}s:5:"dojox";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}}