NGridTable.html
3.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<div id="NMEC_${id}" class="wev-comp-${compType}">
<div class="wev-search" {@if quickSearch.hide == true}style="display:none;"{@/if}>
<div class="wev-search-inner">
<form action="javascript:void(0)">
<input type="search" placeholder="${quickSearch.tip}">
</form>
<div class="wev-placeholder">
<div class="wev-placeholder-inner wev-ellipsis">
<span class="wev-small-icon wev-icon-search"></span><span class="wev-placeholder-text">$${quickSearch.tip}</span>
</div>
</div>
<div class="wev-clear-btn"></div>
{@if dataSource.type == 'cube' && advancedSearch.enable}
<a href="javascript:void(0);" class="wev-search-advanced"><div></div></a>
{@/if}
</div>
{@if btns.length}
<div class="wev-list-btn-container">
{@each btns as btn, index}
{@if btn.type == 1}
<button class="btn wev-btn-custom" data-id="${btn.id}" data-index="${index}">$${btn.text}</button>
{@else if btn.type == 2}
<img class="btn wev-btn-custom" data-id="${btn.id}" data-index="${index}" src="${btn.icon}">
{@/if}
{@/each}
</div>
{@/if}
</div>
$${loading.content}
<div class="wev-table-view-wrapper wev-ngridtable-view-wrapper">
<div class="wev-ngridtable-content-wrapper">
<div class="wev-ngridtable-main-content-wrapper">
<table style="${options.width}">
<thead>
<tr>
{@each headerView.normal as viewCol}
<th {@if viewCol.fixedColumn === true}class="wev-ngridtable-fixed-col"{@/if} style="${viewCol.width}">$${viewCol.text}</th>
{@/each}
</tr>
</thead>
</table>
<div class="wev-ngridtable-main-content-body-wrapper" style="${options.height}">
<div class="wev-ngridtable-fixed-content-body-wrapper-mapping">
</div>
<table style="${options.width}">
<tbody>
</tbody>
</table>
</div>
</div>
<div class="wev-ngridtable-fixed-content-wrapper">
<table>
<thead>
<tr>
{@each headerView.fixed as viewCol}
<th style="${viewCol.width}">$${viewCol.text}</th>
{@/each}
</tr>
</thead>
</table>
<div class="wev-ngridtable-fixed-content-body-wrapper" style="${options.height}">
</div>
</div>
</div>
<div class="wev-error" style="display:none;"></div>
$${pagination.content}
</div>
</div>