UNPKG

jqwidgets-scripts-custom

Version:

jQWidgets is an advanced jQuery, Angular 7, Vue, React, ASP .NET MVC, Custom Elements and HTML5 UI framework.

1,777 lines 128 kB
import * as jqxcore from '../../jqwidgets/jqxcore'; import * as jqxdata from '../../jqwidgets/jqxdata'; import * as jqxdataexport from '../../jqwidgets/jqxdata.export'; import * as jqxbuttons from '../../jqwidgets/jqxbuttons'; import * as jqxbuttongroup from '../../jqwidgets/jqxbuttongroup'; import * as jqxscrollbar from '../../jqwidgets/jqxscrollbar'; import * as jqxmenu from '../../jqwidgets/jqxmenu'; import * as jqxlistbox from '../../jqwidgets/jqxlistbox'; import * as jqxdropdownlist from '../../jqwidgets/jqxdropdownlist'; import * as jqxcombobox from '../../jqwidgets/jqxcombobox'; import * as jqxnumberinput from '../../jqwidgets/jqxnumberinput'; import * as jqxcheckbox from '../../jqwidgets/jqxcheckbox'; import * as globalize from '../../jqwidgets/globalization/globalize'; import * as jqxcalendar from '../../jqwidgets/jqxcalendar'; import * as jqxdatetimeinput from '../../jqwidgets/jqxdatetimeinput'; import * as jqxgrid from '../../jqwidgets/jqxgrid'; import * as jqxgridedit from '../../jqwidgets/jqxgrid.edit'; import * as jqxgridpager from '../../jqwidgets/jqxgrid.pager'; import * as jqxgridselection from '../../jqwidgets/jqxgrid.selection'; import * as jqxgridfilter from '../../jqwidgets/jqxgrid.filter'; import * as jqxgridsort from '../../jqwidgets/jqxgrid.sort'; import * as jqxgridstorage from '../../jqwidgets/jqxgrid.storage'; import * as jqxgridgrouping from '../../jqwidgets/jqxgrid.grouping'; import * as jqxgridexport from '../../jqwidgets/jqxgrid.export'; import * as jqxgridcolumnsresiz from '../../jqwidgets/jqxgrid.columnsresize'; import * as jqxgridcolumnsreorder from '../../jqwidgets/jqxgrid.columnsreorder'; import * as jqxgridaggregates from '../../jqwidgets/jqxgrid.aggregates'; /** * @fileoverview added by tsickle * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ import * as tslib_1 from "tslib"; /// <reference path="../../jqwidgets.d.ts" /> /// <reference path="../../jqwidgets.d.ts" /> import { Component, Input, Output, EventEmitter, ElementRef } from '@angular/core'; var jqxGridComponent = /** @class */ (function () { function jqxGridComponent(containerElement) { this.autoCreate = true; this.properties = ['altrows', 'altstart', 'altstep', 'autoshowloadelement', 'autoshowfiltericon', 'autoshowcolumnsmenubutton', 'showcolumnlines', 'showrowlines', 'showcolumnheaderlines', 'adaptive', 'adaptivewidth', 'clipboard', 'closeablegroups', 'columnsmenuwidth', 'columnmenuopening', 'columnmenuclosing', 'cellhover', 'enablekeyboarddelete', 'enableellipsis', 'enablemousewheel', 'enableanimations', 'enabletooltips', 'enablehover', 'enablebrowserselection', 'everpresentrowposition', 'everpresentrowheight', 'everpresentrowactions', 'everpresentrowactionsmode', 'filterrowheight', 'filtermode', 'groupsrenderer', 'groupcolumnrenderer', 'groupsexpandedbydefault', 'handlekeyboardnavigation', 'pagerrenderer', 'rtl', 'showdefaultloadelement', 'showfiltercolumnbackground', 'showfiltermenuitems', 'showpinnedcolumnbackground', 'showsortcolumnbackground', 'showsortmenuitems', 'showgroupmenuitems', 'showrowdetailscolumn', 'showheader', 'showgroupsheader', 'showaggregates', 'showgroupaggregates', 'showeverpresentrow', 'showfilterrow', 'showemptyrow', 'showstatusbar', 'statusbarheight', 'showtoolbar', 'selectionmode', 'updatefilterconditions', 'updatefilterpanel', 'theme', 'toolbarheight', 'autoheight', 'autorowheight', 'columnsheight', 'deferreddatafields', 'groupsheaderheight', 'groupindentwidth', 'height', 'pagerheight', 'rowsheight', 'scrollbarsize', 'scrollmode', 'scrollfeedback', 'width', 'autosavestate', 'autoloadstate', 'columns', 'columngroups', 'columnsmenu', 'columnsresize', 'columnsautoresize', 'columnsreorder', 'disabled', 'editable', 'editmode', 'filter', 'filterable', 'groupable', 'groups', 'horizontalscrollbarstep', 'horizontalscrollbarlargestep', 'initrowdetails', 'keyboardnavigation', 'localization', 'pagesize', 'pagesizeoptions', 'pagermode', 'pagerbuttonscount', 'pageable', 'rowdetails', 'rowdetailstemplate', 'ready', 'rendered', 'renderstatusbar', 'rendertoolbar', 'rendergridrows', 'sortable', 'sortmode', 'selectedrowindex', 'selectedrowindexes', 'source', 'sorttogglestates', 'updatedelay', 'virtualmode', 'verticalscrollbarstep', 'verticalscrollbarlargestep']; // jqxGridComponent events this.onBindingcomplete = new EventEmitter(); this.onColumnresized = new EventEmitter(); this.onColumnreordered = new EventEmitter(); this.onColumnclick = new EventEmitter(); this.onCellclick = new EventEmitter(); this.onCelldoubleclick = new EventEmitter(); this.onCellselect = new EventEmitter(); this.onCellunselect = new EventEmitter(); this.onCellvaluechanged = new EventEmitter(); this.onCellbeginedit = new EventEmitter(); this.onCellendedit = new EventEmitter(); this.onFilter = new EventEmitter(); this.onGroupschanged = new EventEmitter(); this.onGroupexpand = new EventEmitter(); this.onGroupcollapse = new EventEmitter(); this.onPagechanged = new EventEmitter(); this.onPagesizechanged = new EventEmitter(); this.onRowclick = new EventEmitter(); this.onRowdoubleclick = new EventEmitter(); this.onRowselect = new EventEmitter(); this.onRowunselect = new EventEmitter(); this.onRowexpand = new EventEmitter(); this.onRowcollapse = new EventEmitter(); this.onSort = new EventEmitter(); this.elementRef = containerElement; } /** * @return {?} */ jqxGridComponent.prototype.ngOnInit = /** * @return {?} */ function () { }; ; /** * @return {?} */ jqxGridComponent.prototype.ngAfterViewInit = /** * @return {?} */ function () { /** @type {?} */ var children = JQXLite(this.elementRef.nativeElement.children).find('tr'); /** @type {?} */ var html = ''; /** @type {?} */ var options = {}; if (children.length > 0) { this.container = document.createElement('div'); html = this.elementRef.nativeElement.innerHTML; this.container.appendChild(this.elementRef.nativeElement.firstChild); this.elementRef.nativeElement.innerHTML = html; this.content = html; /** @type {?} */ var result = JQXLite.jqx.parseSourceTag(this.container); if (this['attrColumns'] !== undefined) { ; options['source'] = result.source; } else { options['source'] = result.source; options['columns'] = result.columns; } } if (this.autoCreate) { this.createComponent(options); } }; ; /** * @return {?} */ jqxGridComponent.prototype.ngAfterViewChecked = /** * @return {?} */ function () { if (this.container) { if (this.content !== this.container.innerHTML) { this.content = this.container.innerHTML; /** @type {?} */ var result = JQXLite.jqx.parseSourceTag(this.container); /** @type {?} */ var columns = this.host.jqxGrid('columns'); if (columns.length === 0) { this.host.jqxGrid({ source: result.source, columns: result.columns }); } else { this.host.jqxGrid({ source: result.source }); } } } }; ; /** * @param {?} changes * @return {?} */ jqxGridComponent.prototype.ngOnChanges = /** * @param {?} changes * @return {?} */ function (changes) { if (this.host) { for (var i = 0; i < this.properties.length; i++) { /** @type {?} */ var attrName = 'attr' + this.properties[i].substring(0, 1).toUpperCase() + this.properties[i].substring(1); /** @type {?} */ var areEqual = false; if (this[attrName] !== undefined) { if (typeof this[attrName] === 'object') { if (this[attrName] instanceof Array) { areEqual = this.arraysEqual(this[attrName], this.host.jqxGrid(this.properties[i])); } if (areEqual) { return false; } this.host.jqxGrid(this.properties[i], this[attrName]); continue; } if (this[attrName] !== this.host.jqxGrid(this.properties[i])) { this.host.jqxGrid(this.properties[i], this[attrName]); } } } } }; /** * @param {?} attrValue * @param {?} hostValue * @return {?} */ jqxGridComponent.prototype.arraysEqual = /** * @param {?} attrValue * @param {?} hostValue * @return {?} */ function (attrValue, hostValue) { if ((attrValue && !hostValue) || (!attrValue && hostValue)) { return false; } if (attrValue.length != hostValue.length) { return false; } for (var i = 0; i < attrValue.length; i++) { if (attrValue[i] !== hostValue[i]) { return false; } } return true; }; /** * @return {?} */ jqxGridComponent.prototype.manageAttributes = /** * @return {?} */ function () { /** @type {?} */ var options = {}; for (var i = 0; i < this.properties.length; i++) { /** @type {?} */ var attrName = 'attr' + this.properties[i].substring(0, 1).toUpperCase() + this.properties[i].substring(1); if (this[attrName] !== undefined) { options[this.properties[i]] = this[attrName]; } } return options; }; /** * @param {?} parentEl * @param {?} childEl * @return {?} */ jqxGridComponent.prototype.moveClasses = /** * @param {?} parentEl * @param {?} childEl * @return {?} */ function (parentEl, childEl) { var _a; /** @type {?} */ var classes = parentEl.classList; if (classes.length > 0) { (_a = childEl.classList).add.apply(_a, tslib_1.__spread(classes)); } parentEl.className = ''; }; /** * @param {?} parentEl * @param {?} childEl * @return {?} */ jqxGridComponent.prototype.moveStyles = /** * @param {?} parentEl * @param {?} childEl * @return {?} */ function (parentEl, childEl) { /** @type {?} */ var style = parentEl.style.cssText; childEl.style.cssText = style; parentEl.style.cssText = ''; }; /** * @param {?=} options * @return {?} */ jqxGridComponent.prototype.createComponent = /** * @param {?=} options * @return {?} */ function (options) { if (this.host) { return; } if (options) { JQXLite.extend(options, this.manageAttributes()); } else { options = this.manageAttributes(); } this.host = JQXLite(this.elementRef.nativeElement.firstChild); this.moveClasses(this.elementRef.nativeElement, this.host[0]); this.moveStyles(this.elementRef.nativeElement, this.host[0]); this.__wireEvents__(); this.widgetObject = jqwidgets.createInstance(this.host, 'jqxGrid', options); }; /** * @param {?=} options * @return {?} */ jqxGridComponent.prototype.createWidget = /** * @param {?=} options * @return {?} */ function (options) { this.createComponent(options); }; /** * @return {?} */ jqxGridComponent.prototype.__updateRect__ = /** * @return {?} */ function () { if (this.host) this.host.css({ width: this.attrWidth, height: this.attrHeight }); }; /** * @param {?} options * @return {?} */ jqxGridComponent.prototype.setOptions = /** * @param {?} options * @return {?} */ function (options) { this.host.jqxGrid('setOptions', options); }; // jqxGridComponent properties // jqxGridComponent properties /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.altrows = // jqxGridComponent properties /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('altrows', arg); } else { return this.host.jqxGrid('altrows'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.altstart = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('altstart', arg); } else { return this.host.jqxGrid('altstart'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.altstep = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('altstep', arg); } else { return this.host.jqxGrid('altstep'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.autoshowloadelement = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('autoshowloadelement', arg); } else { return this.host.jqxGrid('autoshowloadelement'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.autoshowfiltericon = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('autoshowfiltericon', arg); } else { return this.host.jqxGrid('autoshowfiltericon'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.autoshowcolumnsmenubutton = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('autoshowcolumnsmenubutton', arg); } else { return this.host.jqxGrid('autoshowcolumnsmenubutton'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.showcolumnlines = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('showcolumnlines', arg); } else { return this.host.jqxGrid('showcolumnlines'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.showrowlines = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('showrowlines', arg); } else { return this.host.jqxGrid('showrowlines'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.showcolumnheaderlines = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('showcolumnheaderlines', arg); } else { return this.host.jqxGrid('showcolumnheaderlines'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.adaptive = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('adaptive', arg); } else { return this.host.jqxGrid('adaptive'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.adaptivewidth = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('adaptivewidth', arg); } else { return this.host.jqxGrid('adaptivewidth'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.clipboard = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('clipboard', arg); } else { return this.host.jqxGrid('clipboard'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.closeablegroups = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('closeablegroups', arg); } else { return this.host.jqxGrid('closeablegroups'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.columnsmenuwidth = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('columnsmenuwidth', arg); } else { return this.host.jqxGrid('columnsmenuwidth'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.columnmenuopening = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('columnmenuopening', arg); } else { return this.host.jqxGrid('columnmenuopening'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.columnmenuclosing = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('columnmenuclosing', arg); } else { return this.host.jqxGrid('columnmenuclosing'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.cellhover = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('cellhover', arg); } else { return this.host.jqxGrid('cellhover'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.enablekeyboarddelete = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('enablekeyboarddelete', arg); } else { return this.host.jqxGrid('enablekeyboarddelete'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.enableellipsis = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('enableellipsis', arg); } else { return this.host.jqxGrid('enableellipsis'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.enablemousewheel = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('enablemousewheel', arg); } else { return this.host.jqxGrid('enablemousewheel'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.enableanimations = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('enableanimations', arg); } else { return this.host.jqxGrid('enableanimations'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.enabletooltips = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('enabletooltips', arg); } else { return this.host.jqxGrid('enabletooltips'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.enablehover = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('enablehover', arg); } else { return this.host.jqxGrid('enablehover'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.enablebrowserselection = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('enablebrowserselection', arg); } else { return this.host.jqxGrid('enablebrowserselection'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.everpresentrowposition = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('everpresentrowposition', arg); } else { return this.host.jqxGrid('everpresentrowposition'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.everpresentrowheight = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('everpresentrowheight', arg); } else { return this.host.jqxGrid('everpresentrowheight'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.everpresentrowactions = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('everpresentrowactions', arg); } else { return this.host.jqxGrid('everpresentrowactions'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.everpresentrowactionsmode = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('everpresentrowactionsmode', arg); } else { return this.host.jqxGrid('everpresentrowactionsmode'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.filterrowheight = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('filterrowheight', arg); } else { return this.host.jqxGrid('filterrowheight'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.filtermode = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('filtermode', arg); } else { return this.host.jqxGrid('filtermode'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.groupsrenderer = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('groupsrenderer', arg); } else { return this.host.jqxGrid('groupsrenderer'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.groupcolumnrenderer = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('groupcolumnrenderer', arg); } else { return this.host.jqxGrid('groupcolumnrenderer'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.groupsexpandedbydefault = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('groupsexpandedbydefault', arg); } else { return this.host.jqxGrid('groupsexpandedbydefault'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.handlekeyboardnavigation = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('handlekeyboardnavigation', arg); } else { return this.host.jqxGrid('handlekeyboardnavigation'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.pagerrenderer = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('pagerrenderer', arg); } else { return this.host.jqxGrid('pagerrenderer'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.rtl = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('rtl', arg); } else { return this.host.jqxGrid('rtl'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.showdefaultloadelement = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('showdefaultloadelement', arg); } else { return this.host.jqxGrid('showdefaultloadelement'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.showfiltercolumnbackground = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('showfiltercolumnbackground', arg); } else { return this.host.jqxGrid('showfiltercolumnbackground'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.showfiltermenuitems = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('showfiltermenuitems', arg); } else { return this.host.jqxGrid('showfiltermenuitems'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.showpinnedcolumnbackground = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('showpinnedcolumnbackground', arg); } else { return this.host.jqxGrid('showpinnedcolumnbackground'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.showsortcolumnbackground = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('showsortcolumnbackground', arg); } else { return this.host.jqxGrid('showsortcolumnbackground'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.showsortmenuitems = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('showsortmenuitems', arg); } else { return this.host.jqxGrid('showsortmenuitems'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.showgroupmenuitems = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('showgroupmenuitems', arg); } else { return this.host.jqxGrid('showgroupmenuitems'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.showrowdetailscolumn = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('showrowdetailscolumn', arg); } else { return this.host.jqxGrid('showrowdetailscolumn'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.showheader = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('showheader', arg); } else { return this.host.jqxGrid('showheader'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.showgroupsheader = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('showgroupsheader', arg); } else { return this.host.jqxGrid('showgroupsheader'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.showaggregates = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('showaggregates', arg); } else { return this.host.jqxGrid('showaggregates'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.showgroupaggregates = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('showgroupaggregates', arg); } else { return this.host.jqxGrid('showgroupaggregates'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.showeverpresentrow = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('showeverpresentrow', arg); } else { return this.host.jqxGrid('showeverpresentrow'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.showfilterrow = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('showfilterrow', arg); } else { return this.host.jqxGrid('showfilterrow'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.showemptyrow = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('showemptyrow', arg); } else { return this.host.jqxGrid('showemptyrow'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.showstatusbar = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('showstatusbar', arg); } else { return this.host.jqxGrid('showstatusbar'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.statusbarheight = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('statusbarheight', arg); } else { return this.host.jqxGrid('statusbarheight'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.showtoolbar = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('showtoolbar', arg); } else { return this.host.jqxGrid('showtoolbar'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.selectionmode = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('selectionmode', arg); } else { return this.host.jqxGrid('selectionmode'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.updatefilterconditions = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('updatefilterconditions', arg); } else { return this.host.jqxGrid('updatefilterconditions'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.updatefilterpanel = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('updatefilterpanel', arg); } else { return this.host.jqxGrid('updatefilterpanel'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.theme = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('theme', arg); } else { return this.host.jqxGrid('theme'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.toolbarheight = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('toolbarheight', arg); } else { return this.host.jqxGrid('toolbarheight'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.autoheight = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('autoheight', arg); } else { return this.host.jqxGrid('autoheight'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.autorowheight = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('autorowheight', arg); } else { return this.host.jqxGrid('autorowheight'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.columnsheight = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('columnsheight', arg); } else { return this.host.jqxGrid('columnsheight'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.deferreddatafields = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('deferreddatafields', arg); } else { return this.host.jqxGrid('deferreddatafields'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.groupsheaderheight = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('groupsheaderheight', arg); } else { return this.host.jqxGrid('groupsheaderheight'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.groupindentwidth = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('groupindentwidth', arg); } else { return this.host.jqxGrid('groupindentwidth'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.height = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('height', arg); } else { return this.host.jqxGrid('height'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.pagerheight = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('pagerheight', arg); } else { return this.host.jqxGrid('pagerheight'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.rowsheight = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('rowsheight', arg); } else { return this.host.jqxGrid('rowsheight'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.scrollbarsize = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('scrollbarsize', arg); } else { return this.host.jqxGrid('scrollbarsize'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.scrollmode = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('scrollmode', arg); } else { return this.host.jqxGrid('scrollmode'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.scrollfeedback = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('scrollfeedback', arg); } else { return this.host.jqxGrid('scrollfeedback'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.width = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('width', arg); } else { return this.host.jqxGrid('width'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.autosavestate = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('autosavestate', arg); } else { return this.host.jqxGrid('autosavestate'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.autoloadstate = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('autoloadstate', arg); } else { return this.host.jqxGrid('autoloadstate'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.columns = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('columns', arg); } else { return this.host.jqxGrid('columns'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.columngroups = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('columngroups', arg); } else { return this.host.jqxGrid('columngroups'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.columnsmenu = /** * @param {?=} arg * @return {?} */ function (arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('columnsmenu', arg); } else { return this.host.jqxGrid('columnsmenu'); } }; /** * @param {?=} arg * @return {?} */ jqxGridComponent.prototype.columnsresize = /** * @param {?=} arg * @return {?} */ function (arg) { if (t