jqwidgets-ng
Version:
[](https://jqwidgets.com/license/)
1,615 lines (1,614 loc) • 103 kB
JavaScript
import '../jqwidgets/modules/jqxgrid';
import * as i0 from '@angular/core';
import { EventEmitter, Component, Input, Output, NgModule } from '@angular/core';
/// <reference path="../../jqwidgets.d.ts" />
class jqxGridComponent {
constructor(containerElement) {
this.autoCreate = true;
this.properties = ['altrows', 'altstart', 'altstep', 'autoshowloadelement', 'autoshowfiltericon', 'autoshowcolumnsmenubutton', 'showcolumnlines', 'showrowlines', 'showcolumnheaderlines', 'adaptive', 'compact', 'contextmenuitems', 'contextmenuenabled', 'contextmenuwidth', 'contextmenuheight', 'contextmenuitemclick', 'adaptivewidth', 'commandcolumn', 'commandcolumnrenderer', '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', 'showfilterbar', 'filterbarmode', 'selectionmode', 'updatefilterconditions', 'updatefilterpanel', 'theme', 'toolbarheight', 'autoheight', 'autorowheight', 'columnsheight', 'deferreddatafields', 'groupsheaderheight', 'groupindentwidth', 'height', 'pagerheight', 'rowsheight', 'scrollbarsize', 'scrollmode', 'scrollfeedback', 'width', 'autosavestate', 'autoloadstate', 'columns', 'enableSanitize', 'cardview', 'cardviewcolumns', 'cardheight', 'cardsize', 'columngroups', 'columnsmenu', 'columnsresize', 'columnsautoresize', 'columnsreorder', 'charting', 'disabled', 'editable', 'batcheditable', 'editmode', 'filter', 'filterable', 'filternlpinput', 'aiKey', 'aiUrl', 'groupable', 'groups', 'horizontalscrollbarstep', 'horizontalscrollbarlargestep', 'initrowdetails', 'disablerowdetails', 'keyboardnavigation', 'localization', 'pagesize', 'pagesizeoptions', 'pagermode', 'pagerbuttonscount', 'pageable', 'autofill', 'rowdetails', 'rowdetailstemplate', 'ready', 'rendered', 'renderstatusbar', 'rendertoolbar', 'rendergridrows', 'sortable', 'sortmode', 'sortmodekey', '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;
}
ngOnInit() {
}
;
ngAfterViewInit() {
if (typeof JQXLite === 'undefined') {
return;
}
let children = JQXLite(this.elementRef.nativeElement.children).find('tr');
let html = '';
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;
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);
}
}
;
ngAfterViewChecked() {
if (typeof JQXLite === 'undefined') {
return;
}
if (this.container) {
if (this.content !== this.container.innerHTML) {
this.content = this.container.innerHTML;
let result = JQXLite.jqx.parseSourceTag(this.container);
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 });
}
}
}
}
;
ngOnChanges(changes) {
if (this.host) {
for (let i = 0; i < this.properties.length; i++) {
let attrName = 'attr' + this.properties[i].substring(0, 1).toUpperCase() + this.properties[i].substring(1);
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]);
}
}
}
}
}
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;
}
manageAttributes() {
let options = {};
for (let i = 0; i < this.properties.length; i++) {
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;
}
moveClasses(parentEl, childEl) {
let classes = parentEl.classList;
if (classes.length > 0) {
childEl.classList.add(...classes);
}
parentEl.className = '';
}
moveStyles(parentEl, childEl) {
let style = parentEl.style.cssText;
childEl.style.cssText = style;
parentEl.style.cssText = '';
}
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);
}
createWidget(options) {
this.createComponent(options);
}
__updateRect__() {
if (this.host)
this.host.css({ width: this.attrWidth, height: this.attrHeight });
}
setOptions(options) {
this.host.jqxGrid('setOptions', options);
}
// jqxGridComponent properties
altrows(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('altrows', arg);
}
else {
return this.host.jqxGrid('altrows');
}
}
altstart(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('altstart', arg);
}
else {
return this.host.jqxGrid('altstart');
}
}
altstep(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('altstep', arg);
}
else {
return this.host.jqxGrid('altstep');
}
}
autoshowloadelement(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('autoshowloadelement', arg);
}
else {
return this.host.jqxGrid('autoshowloadelement');
}
}
autoshowfiltericon(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('autoshowfiltericon', arg);
}
else {
return this.host.jqxGrid('autoshowfiltericon');
}
}
autoshowcolumnsmenubutton(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('autoshowcolumnsmenubutton', arg);
}
else {
return this.host.jqxGrid('autoshowcolumnsmenubutton');
}
}
showcolumnlines(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('showcolumnlines', arg);
}
else {
return this.host.jqxGrid('showcolumnlines');
}
}
showrowlines(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('showrowlines', arg);
}
else {
return this.host.jqxGrid('showrowlines');
}
}
showcolumnheaderlines(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('showcolumnheaderlines', arg);
}
else {
return this.host.jqxGrid('showcolumnheaderlines');
}
}
adaptive(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('adaptive', arg);
}
else {
return this.host.jqxGrid('adaptive');
}
}
compact(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('compact', arg);
}
else {
return this.host.jqxGrid('compact');
}
}
contextmenuitems(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('contextmenuitems', arg);
}
else {
return this.host.jqxGrid('contextmenuitems');
}
}
contextmenuenabled(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('contextmenuenabled', arg);
}
else {
return this.host.jqxGrid('contextmenuenabled');
}
}
contextmenuwidth(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('contextmenuwidth', arg);
}
else {
return this.host.jqxGrid('contextmenuwidth');
}
}
contextmenuheight(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('contextmenuheight', arg);
}
else {
return this.host.jqxGrid('contextmenuheight');
}
}
contextmenuitemclick(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('contextmenuitemclick', arg);
}
else {
return this.host.jqxGrid('contextmenuitemclick');
}
}
adaptivewidth(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('adaptivewidth', arg);
}
else {
return this.host.jqxGrid('adaptivewidth');
}
}
commandcolumn(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('commandcolumn', arg);
}
else {
return this.host.jqxGrid('commandcolumn');
}
}
commandcolumnrenderer(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('commandcolumnrenderer', arg);
}
else {
return this.host.jqxGrid('commandcolumnrenderer');
}
}
clipboard(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('clipboard', arg);
}
else {
return this.host.jqxGrid('clipboard');
}
}
closeablegroups(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('closeablegroups', arg);
}
else {
return this.host.jqxGrid('closeablegroups');
}
}
columnsmenuwidth(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('columnsmenuwidth', arg);
}
else {
return this.host.jqxGrid('columnsmenuwidth');
}
}
columnmenuopening(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('columnmenuopening', arg);
}
else {
return this.host.jqxGrid('columnmenuopening');
}
}
columnmenuclosing(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('columnmenuclosing', arg);
}
else {
return this.host.jqxGrid('columnmenuclosing');
}
}
cellhover(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('cellhover', arg);
}
else {
return this.host.jqxGrid('cellhover');
}
}
enablekeyboarddelete(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('enablekeyboarddelete', arg);
}
else {
return this.host.jqxGrid('enablekeyboarddelete');
}
}
enableellipsis(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('enableellipsis', arg);
}
else {
return this.host.jqxGrid('enableellipsis');
}
}
enablemousewheel(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('enablemousewheel', arg);
}
else {
return this.host.jqxGrid('enablemousewheel');
}
}
enableanimations(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('enableanimations', arg);
}
else {
return this.host.jqxGrid('enableanimations');
}
}
enabletooltips(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('enabletooltips', arg);
}
else {
return this.host.jqxGrid('enabletooltips');
}
}
enablehover(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('enablehover', arg);
}
else {
return this.host.jqxGrid('enablehover');
}
}
enablebrowserselection(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('enablebrowserselection', arg);
}
else {
return this.host.jqxGrid('enablebrowserselection');
}
}
everpresentrowposition(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('everpresentrowposition', arg);
}
else {
return this.host.jqxGrid('everpresentrowposition');
}
}
everpresentrowheight(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('everpresentrowheight', arg);
}
else {
return this.host.jqxGrid('everpresentrowheight');
}
}
everpresentrowactions(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('everpresentrowactions', arg);
}
else {
return this.host.jqxGrid('everpresentrowactions');
}
}
everpresentrowactionsmode(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('everpresentrowactionsmode', arg);
}
else {
return this.host.jqxGrid('everpresentrowactionsmode');
}
}
filterrowheight(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('filterrowheight', arg);
}
else {
return this.host.jqxGrid('filterrowheight');
}
}
filtermode(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('filtermode', arg);
}
else {
return this.host.jqxGrid('filtermode');
}
}
groupsrenderer(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('groupsrenderer', arg);
}
else {
return this.host.jqxGrid('groupsrenderer');
}
}
groupcolumnrenderer(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('groupcolumnrenderer', arg);
}
else {
return this.host.jqxGrid('groupcolumnrenderer');
}
}
groupsexpandedbydefault(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('groupsexpandedbydefault', arg);
}
else {
return this.host.jqxGrid('groupsexpandedbydefault');
}
}
handlekeyboardnavigation(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('handlekeyboardnavigation', arg);
}
else {
return this.host.jqxGrid('handlekeyboardnavigation');
}
}
pagerrenderer(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('pagerrenderer', arg);
}
else {
return this.host.jqxGrid('pagerrenderer');
}
}
rtl(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('rtl', arg);
}
else {
return this.host.jqxGrid('rtl');
}
}
showdefaultloadelement(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('showdefaultloadelement', arg);
}
else {
return this.host.jqxGrid('showdefaultloadelement');
}
}
showfiltercolumnbackground(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('showfiltercolumnbackground', arg);
}
else {
return this.host.jqxGrid('showfiltercolumnbackground');
}
}
showfiltermenuitems(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('showfiltermenuitems', arg);
}
else {
return this.host.jqxGrid('showfiltermenuitems');
}
}
showpinnedcolumnbackground(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('showpinnedcolumnbackground', arg);
}
else {
return this.host.jqxGrid('showpinnedcolumnbackground');
}
}
showsortcolumnbackground(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('showsortcolumnbackground', arg);
}
else {
return this.host.jqxGrid('showsortcolumnbackground');
}
}
showsortmenuitems(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('showsortmenuitems', arg);
}
else {
return this.host.jqxGrid('showsortmenuitems');
}
}
showgroupmenuitems(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('showgroupmenuitems', arg);
}
else {
return this.host.jqxGrid('showgroupmenuitems');
}
}
showrowdetailscolumn(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('showrowdetailscolumn', arg);
}
else {
return this.host.jqxGrid('showrowdetailscolumn');
}
}
showheader(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('showheader', arg);
}
else {
return this.host.jqxGrid('showheader');
}
}
showgroupsheader(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('showgroupsheader', arg);
}
else {
return this.host.jqxGrid('showgroupsheader');
}
}
showaggregates(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('showaggregates', arg);
}
else {
return this.host.jqxGrid('showaggregates');
}
}
showgroupaggregates(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('showgroupaggregates', arg);
}
else {
return this.host.jqxGrid('showgroupaggregates');
}
}
showeverpresentrow(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('showeverpresentrow', arg);
}
else {
return this.host.jqxGrid('showeverpresentrow');
}
}
showfilterrow(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('showfilterrow', arg);
}
else {
return this.host.jqxGrid('showfilterrow');
}
}
showemptyrow(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('showemptyrow', arg);
}
else {
return this.host.jqxGrid('showemptyrow');
}
}
showstatusbar(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('showstatusbar', arg);
}
else {
return this.host.jqxGrid('showstatusbar');
}
}
statusbarheight(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('statusbarheight', arg);
}
else {
return this.host.jqxGrid('statusbarheight');
}
}
showtoolbar(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('showtoolbar', arg);
}
else {
return this.host.jqxGrid('showtoolbar');
}
}
showfilterbar(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('showfilterbar', arg);
}
else {
return this.host.jqxGrid('showfilterbar');
}
}
filterbarmode(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('filterbarmode', arg);
}
else {
return this.host.jqxGrid('filterbarmode');
}
}
selectionmode(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('selectionmode', arg);
}
else {
return this.host.jqxGrid('selectionmode');
}
}
updatefilterconditions(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('updatefilterconditions', arg);
}
else {
return this.host.jqxGrid('updatefilterconditions');
}
}
updatefilterpanel(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('updatefilterpanel', arg);
}
else {
return this.host.jqxGrid('updatefilterpanel');
}
}
theme(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('theme', arg);
}
else {
return this.host.jqxGrid('theme');
}
}
toolbarheight(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('toolbarheight', arg);
}
else {
return this.host.jqxGrid('toolbarheight');
}
}
autoheight(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('autoheight', arg);
}
else {
return this.host.jqxGrid('autoheight');
}
}
autorowheight(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('autorowheight', arg);
}
else {
return this.host.jqxGrid('autorowheight');
}
}
columnsheight(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('columnsheight', arg);
}
else {
return this.host.jqxGrid('columnsheight');
}
}
deferreddatafields(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('deferreddatafields', arg);
}
else {
return this.host.jqxGrid('deferreddatafields');
}
}
groupsheaderheight(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('groupsheaderheight', arg);
}
else {
return this.host.jqxGrid('groupsheaderheight');
}
}
groupindentwidth(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('groupindentwidth', arg);
}
else {
return this.host.jqxGrid('groupindentwidth');
}
}
height(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('height', arg);
}
else {
return this.host.jqxGrid('height');
}
}
pagerheight(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('pagerheight', arg);
}
else {
return this.host.jqxGrid('pagerheight');
}
}
rowsheight(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('rowsheight', arg);
}
else {
return this.host.jqxGrid('rowsheight');
}
}
scrollbarsize(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('scrollbarsize', arg);
}
else {
return this.host.jqxGrid('scrollbarsize');
}
}
scrollmode(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('scrollmode', arg);
}
else {
return this.host.jqxGrid('scrollmode');
}
}
scrollfeedback(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('scrollfeedback', arg);
}
else {
return this.host.jqxGrid('scrollfeedback');
}
}
width(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('width', arg);
}
else {
return this.host.jqxGrid('width');
}
}
autosavestate(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('autosavestate', arg);
}
else {
return this.host.jqxGrid('autosavestate');
}
}
autoloadstate(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('autoloadstate', arg);
}
else {
return this.host.jqxGrid('autoloadstate');
}
}
columns(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('columns', arg);
}
else {
return this.host.jqxGrid('columns');
}
}
enableSanitize(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('enableSanitize', arg);
}
else {
return this.host.jqxGrid('enableSanitize');
}
}
cardview(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('cardview', arg);
}
else {
return this.host.jqxGrid('cardview');
}
}
cardviewcolumns(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('cardviewcolumns', arg);
}
else {
return this.host.jqxGrid('cardviewcolumns');
}
}
cardheight(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('cardheight', arg);
}
else {
return this.host.jqxGrid('cardheight');
}
}
cardsize(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('cardsize', arg);
}
else {
return this.host.jqxGrid('cardsize');
}
}
columngroups(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('columngroups', arg);
}
else {
return this.host.jqxGrid('columngroups');
}
}
columnsmenu(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('columnsmenu', arg);
}
else {
return this.host.jqxGrid('columnsmenu');
}
}
columnsresize(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('columnsresize', arg);
}
else {
return this.host.jqxGrid('columnsresize');
}
}
columnsautoresize(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('columnsautoresize', arg);
}
else {
return this.host.jqxGrid('columnsautoresize');
}
}
columnsreorder(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('columnsreorder', arg);
}
else {
return this.host.jqxGrid('columnsreorder');
}
}
charting(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('charting', arg);
}
else {
return this.host.jqxGrid('charting');
}
}
disabled(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('disabled', arg);
}
else {
return this.host.jqxGrid('disabled');
}
}
editable(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('editable', arg);
}
else {
return this.host.jqxGrid('editable');
}
}
batcheditable(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('batcheditable', arg);
}
else {
return this.host.jqxGrid('batcheditable');
}
}
editmode(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('editmode', arg);
}
else {
return this.host.jqxGrid('editmode');
}
}
filter(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('filter', arg);
}
else {
return this.host.jqxGrid('filter');
}
}
filterable(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('filterable', arg);
}
else {
return this.host.jqxGrid('filterable');
}
}
filternlpinput(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('filternlpinput', arg);
}
else {
return this.host.jqxGrid('filternlpinput');
}
}
aiKey(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('aiKey', arg);
}
else {
return this.host.jqxGrid('aiKey');
}
}
aiUrl(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('aiUrl', arg);
}
else {
return this.host.jqxGrid('aiUrl');
}
}
groupable(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('groupable', arg);
}
else {
return this.host.jqxGrid('groupable');
}
}
groups(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('groups', arg);
}
else {
return this.host.jqxGrid('groups');
}
}
horizontalscrollbarstep(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('horizontalscrollbarstep', arg);
}
else {
return this.host.jqxGrid('horizontalscrollbarstep');
}
}
horizontalscrollbarlargestep(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('horizontalscrollbarlargestep', arg);
}
else {
return this.host.jqxGrid('horizontalscrollbarlargestep');
}
}
initrowdetails(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('initrowdetails', arg);
}
else {
return this.host.jqxGrid('initrowdetails');
}
}
disablerowdetails(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('disablerowdetails', arg);
}
else {
return this.host.jqxGrid('disablerowdetails');
}
}
keyboardnavigation(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('keyboardnavigation', arg);
}
else {
return this.host.jqxGrid('keyboardnavigation');
}
}
localization(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('localization', arg);
}
else {
return this.host.jqxGrid('localization');
}
}
pagesize(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('pagesize', arg);
}
else {
return this.host.jqxGrid('pagesize');
}
}
pagesizeoptions(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('pagesizeoptions', arg);
}
else {
return this.host.jqxGrid('pagesizeoptions');
}
}
pagermode(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('pagermode', arg);
}
else {
return this.host.jqxGrid('pagermode');
}
}
pagerbuttonscount(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('pagerbuttonscount', arg);
}
else {
return this.host.jqxGrid('pagerbuttonscount');
}
}
pageable(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('pageable', arg);
}
else {
return this.host.jqxGrid('pageable');
}
}
autofill(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('autofill', arg);
}
else {
return this.host.jqxGrid('autofill');
}
}
rowdetails(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('rowdetails', arg);
}
else {
return this.host.jqxGrid('rowdetails');
}
}
rowdetailstemplate(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('rowdetailstemplate', arg);
}
else {
return this.host.jqxGrid('rowdetailstemplate');
}
}
ready(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('ready', arg);
}
else {
return this.host.jqxGrid('ready');
}
}
rendered(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('rendered', arg);
}
else {
return this.host.jqxGrid('rendered');
}
}
renderstatusbar(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('renderstatusbar', arg);
}
else {
return this.host.jqxGrid('renderstatusbar');
}
}
rendertoolbar(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('rendertoolbar', arg);
}
else {
return this.host.jqxGrid('rendertoolbar');
}
}
rendergridrows(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('rendergridrows', arg);
}
else {
return this.host.jqxGrid('rendergridrows');
}
}
sortable(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('sortable', arg);
}
else {
return this.host.jqxGrid('sortable');
}
}
sortmode(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('sortmode', arg);
}
else {
return this.host.jqxGrid('sortmode');
}
}
sortmodekey(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('sortmodekey', arg);
}
else {
return this.host.jqxGrid('sortmodekey');
}
}
selectedrowindex(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('selectedrowindex', arg);
}
else {
return this.host.jqxGrid('selectedrowindex');
}
}
selectedrowindexes(arg) {
if (this.autoCreate && !this.host) {
this.createComponent();
}
if (arg !== undefined) {
this.host.jqxGrid('selectedrowindexes', arg);
}
else {
return this.host.jqxGrid('selectedrowindexes');
}
}
source(arg) {
if (this.