UNPKG

jqwidgets-scripts-custom

Version:

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

1,795 lines 103 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 */ /// <reference path="../../jqwidgets.d.ts" /> /// <reference path="../../jqwidgets.d.ts" /> import { Component, Input, Output, EventEmitter, ElementRef } from '@angular/core'; export class jqxGridComponent { /** * @param {?} containerElement */ constructor(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 {?} */ ngOnInit() { } ; /** * @return {?} */ ngAfterViewInit() { /** @type {?} */ let children = JQXLite(this.elementRef.nativeElement.children).find('tr'); /** @type {?} */ let html = ''; /** @type {?} */ let 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 {?} */ let 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 {?} */ ngAfterViewChecked() { if (this.container) { if (this.content !== this.container.innerHTML) { this.content = this.container.innerHTML; /** @type {?} */ let result = JQXLite.jqx.parseSourceTag(this.container); /** @type {?} */ let 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 {?} */ ngOnChanges(changes) { if (this.host) { for (let i = 0; i < this.properties.length; i++) { /** @type {?} */ let attrName = 'attr' + this.properties[i].substring(0, 1).toUpperCase() + this.properties[i].substring(1); /** @type {?} */ let 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 {?} */ arraysEqual(attrValue, hostValue) { if ((attrValue && !hostValue) || (!attrValue && hostValue)) { return false; } if (attrValue.length != hostValue.length) { return false; } for (let i = 0; i < attrValue.length; i++) { if (attrValue[i] !== hostValue[i]) { return false; } } return true; } /** * @return {?} */ manageAttributes() { /** @type {?} */ let options = {}; for (let i = 0; i < this.properties.length; i++) { /** @type {?} */ let 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 {?} */ moveClasses(parentEl, childEl) { /** @type {?} */ let classes = parentEl.classList; if (classes.length > 0) { childEl.classList.add(...classes); } parentEl.className = ''; } /** * @param {?} parentEl * @param {?} childEl * @return {?} */ moveStyles(parentEl, childEl) { /** @type {?} */ let style = parentEl.style.cssText; childEl.style.cssText = style; parentEl.style.cssText = ''; } /** * @param {?=} options * @return {?} */ createComponent(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 {?} */ createWidget(options) { this.createComponent(options); } /** * @return {?} */ __updateRect__() { if (this.host) this.host.css({ width: this.attrWidth, height: this.attrHeight }); } /** * @param {?} options * @return {?} */ setOptions(options) { this.host.jqxGrid('setOptions', options); } // jqxGridComponent properties /** * @param {?=} arg * @return {?} */ altrows(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 {?} */ altstart(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 {?} */ altstep(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 {?} */ autoshowloadelement(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 {?} */ autoshowfiltericon(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 {?} */ autoshowcolumnsmenubutton(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 {?} */ showcolumnlines(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 {?} */ showrowlines(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 {?} */ showcolumnheaderlines(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 {?} */ adaptive(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 {?} */ adaptivewidth(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 {?} */ clipboard(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 {?} */ closeablegroups(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 {?} */ columnsmenuwidth(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 {?} */ columnmenuopening(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 {?} */ columnmenuclosing(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 {?} */ cellhover(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 {?} */ enablekeyboarddelete(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 {?} */ enableellipsis(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 {?} */ enablemousewheel(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 {?} */ enableanimations(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 {?} */ enabletooltips(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 {?} */ enablehover(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 {?} */ enablebrowserselection(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 {?} */ everpresentrowposition(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 {?} */ everpresentrowheight(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 {?} */ everpresentrowactions(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 {?} */ everpresentrowactionsmode(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 {?} */ filterrowheight(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 {?} */ filtermode(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 {?} */ groupsrenderer(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 {?} */ groupcolumnrenderer(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 {?} */ groupsexpandedbydefault(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 {?} */ handlekeyboardnavigation(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 {?} */ pagerrenderer(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 {?} */ rtl(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 {?} */ showdefaultloadelement(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 {?} */ showfiltercolumnbackground(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 {?} */ showfiltermenuitems(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 {?} */ showpinnedcolumnbackground(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 {?} */ showsortcolumnbackground(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 {?} */ showsortmenuitems(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 {?} */ showgroupmenuitems(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 {?} */ showrowdetailscolumn(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 {?} */ showheader(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 {?} */ showgroupsheader(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 {?} */ showaggregates(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 {?} */ showgroupaggregates(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 {?} */ showeverpresentrow(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 {?} */ showfilterrow(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 {?} */ showemptyrow(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 {?} */ showstatusbar(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 {?} */ statusbarheight(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 {?} */ showtoolbar(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 {?} */ selectionmode(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 {?} */ updatefilterconditions(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 {?} */ updatefilterpanel(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 {?} */ theme(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 {?} */ toolbarheight(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 {?} */ autoheight(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 {?} */ autorowheight(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 {?} */ columnsheight(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 {?} */ deferreddatafields(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 {?} */ groupsheaderheight(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 {?} */ groupindentwidth(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 {?} */ height(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 {?} */ pagerheight(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 {?} */ rowsheight(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 {?} */ scrollbarsize(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 {?} */ scrollmode(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 {?} */ scrollfeedback(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 {?} */ width(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 {?} */ autosavestate(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 {?} */ autoloadstate(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 {?} */ columns(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 {?} */ columngroups(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 {?} */ columnsmenu(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 {?} */ columnsresize(arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('columnsresize', arg); } else { return this.host.jqxGrid('columnsresize'); } } /** * @param {?=} arg * @return {?} */ columnsautoresize(arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('columnsautoresize', arg); } else { return this.host.jqxGrid('columnsautoresize'); } } /** * @param {?=} arg * @return {?} */ columnsreorder(arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('columnsreorder', arg); } else { return this.host.jqxGrid('columnsreorder'); } } /** * @param {?=} arg * @return {?} */ disabled(arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('disabled', arg); } else { return this.host.jqxGrid('disabled'); } } /** * @param {?=} arg * @return {?} */ editable(arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('editable', arg); } else { return this.host.jqxGrid('editable'); } } /** * @param {?=} arg * @return {?} */ editmode(arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('editmode', arg); } else { return this.host.jqxGrid('editmode'); } } /** * @param {?=} arg * @return {?} */ filter(arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('filter', arg); } else { return this.host.jqxGrid('filter'); } } /** * @param {?=} arg * @return {?} */ filterable(arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('filterable', arg); } else { return this.host.jqxGrid('filterable'); } } /** * @param {?=} arg * @return {?} */ groupable(arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('groupable', arg); } else { return this.host.jqxGrid('groupable'); } } /** * @param {?=} arg * @return {?} */ groups(arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('groups', arg); } else { return this.host.jqxGrid('groups'); } } /** * @param {?=} arg * @return {?} */ horizontalscrollbarstep(arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('horizontalscrollbarstep', arg); } else { return this.host.jqxGrid('horizontalscrollbarstep'); } } /** * @param {?=} arg * @return {?} */ horizontalscrollbarlargestep(arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('horizontalscrollbarlargestep', arg); } else { return this.host.jqxGrid('horizontalscrollbarlargestep'); } } /** * @param {?=} arg * @return {?} */ initrowdetails(arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('initrowdetails', arg); } else { return this.host.jqxGrid('initrowdetails'); } } /** * @param {?=} arg * @return {?} */ keyboardnavigation(arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('keyboardnavigation', arg); } else { return this.host.jqxGrid('keyboardnavigation'); } } /** * @param {?=} arg * @return {?} */ localization(arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('localization', arg); } else { return this.host.jqxGrid('localization'); } } /** * @param {?=} arg * @return {?} */ pagesize(arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('pagesize', arg); } else { return this.host.jqxGrid('pagesize'); } } /** * @param {?=} arg * @return {?} */ pagesizeoptions(arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('pagesizeoptions', arg); } else { return this.host.jqxGrid('pagesizeoptions'); } } /** * @param {?=} arg * @return {?} */ pagermode(arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('pagermode', arg); } else { return this.host.jqxGrid('pagermode'); } } /** * @param {?=} arg * @return {?} */ pagerbuttonscount(arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('pagerbuttonscount', arg); } else { return this.host.jqxGrid('pagerbuttonscount'); } } /** * @param {?=} arg * @return {?} */ pageable(arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('pageable', arg); } else { return this.host.jqxGrid('pageable'); } } /** * @param {?=} arg * @return {?} */ rowdetails(arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('rowdetails', arg); } else { return this.host.jqxGrid('rowdetails'); } } /** * @param {?=} arg * @return {?} */ rowdetailstemplate(arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('rowdetailstemplate', arg); } else { return this.host.jqxGrid('rowdetailstemplate'); } } /** * @param {?=} arg * @return {?} */ ready(arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('ready', arg); } else { return this.host.jqxGrid('ready'); } } /** * @param {?=} arg * @return {?} */ rendered(arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('rendered', arg); } else { return this.host.jqxGrid('rendered'); } } /** * @param {?=} arg * @return {?} */ renderstatusbar(arg) { if (this.autoCreate && !this.host) { this.createComponent(); } if (arg !== undefined) { this.host.jqxGrid('renderstatusbar', arg); } else { return this.host.jqxGrid('renderstatusbar'); } } /** * @param {?=} arg * @return {?} */ rendertoolbar(arg) { if (this.autoCreate && !this.host) { this.createComponent(); } i