jqwidgets-scripts-custom
Version:
jQWidgets is an advanced jQuery, Angular 7, Vue, React, ASP .NET MVC, Custom Elements and HTML5 UI framework.
41 lines (32 loc) • 1.83 kB
HTML
<div style="float: left">
<jqxTreeGrid [theme]="'material'" #myTreeGrid
(onPageChanged)="myTreeGridOnPageChanged($event)" (onPageSizeChanged)="myTreeGridOnPageSizeChanged($event)"
[width]="560" [source]="dataAdapter" [columns]="columns"
[sortable]="true" [pageable]="true" [pagerMode]="'advanced'" [ready]="ready"
[autoRowHeight]="false" [pagerPosition]="'both'">
</jqxTreeGrid>
</div>
<div style="float: left; font-size: 13px; font-family: Verdana; margin-left: 30px">
<div><strong>Settings</strong></div>
<div style="margin-top: 10px">
<div>Pager Mode:</div>
<jqxDropDownList [theme]="'material'" style="margin-top: 5px"
(onSelect)="pagerModeDropDownListOnSelect($event)"
[width]="120" [height]="25" [selectedIndex]="1"
[source]="['default','advanced']" [autoDropDownHeight]="true">
</jqxDropDownList>
<div style="margin-top: 10px">Pager Position:</div>
<jqxDropDownList [theme]="'material'" style="margin-top: 5px"
(onSelect)="pagerPositionDropDownListOnSelect($event)"
[width]="120" [height]="25" [selectedIndex]="2"
[source]="['top','bottom','both']" [autoDropDownHeight]="true">
</jqxDropDownList>
<div style="margin-top: 10px">Go to Page:</div>
<jqxInput [theme]="'material'" #myInput style="margin-top: 5px; float: left" [width]="120" [height]="25" [value]="1"></jqxInput>
<jqxButton [theme]="'material'" (onClick)="btnOnClick()" style="margin: 7px 0 0 5px; float: left">Apply</jqxButton>
</div>
<div style="margin-top: 10px; display: inline-block">
<div>Event Log:</div>
<jqxPanel [theme]="'material'" #myPanel style="margin-top: 5px" [width]="150" [height]="150"></jqxPanel>
</div>
</div>