Hide filter row
This commit is contained in:
parent
1fa062c16b
commit
1a70792368
@ -6,7 +6,7 @@
|
|||||||
<div class="dx-card responsive-paddings">
|
<div class="dx-card responsive-paddings">
|
||||||
<div id="app-container">
|
<div id="app-container">
|
||||||
<DxDataGrid ref="currDataGrid"
|
<DxDataGrid ref="currDataGrid"
|
||||||
:data-source="dataSource"
|
:data-source="dataSource"
|
||||||
key-expr="id"
|
key-expr="id"
|
||||||
:allow-column-reordering="true"
|
:allow-column-reordering="true"
|
||||||
:column-auto-width="true">
|
:column-auto-width="true">
|
||||||
@ -14,7 +14,7 @@
|
|||||||
:allow-adding="true"
|
:allow-adding="true"
|
||||||
:use-icons="true"
|
:use-icons="true"
|
||||||
mode="popup">
|
mode="popup">
|
||||||
<DxTexts
|
<DxTexts
|
||||||
add-row="Tambah"
|
add-row="Tambah"
|
||||||
edit-row="Ubah"
|
edit-row="Ubah"
|
||||||
delete-row="Hapus"
|
delete-row="Hapus"
|
||||||
@ -45,39 +45,39 @@
|
|||||||
<DxItem name="columnChooserButton" />
|
<DxItem name="columnChooserButton" />
|
||||||
</DxToolbar>
|
</DxToolbar>
|
||||||
<DxPaging :page-size="5" />
|
<DxPaging :page-size="5" />
|
||||||
<DxPager
|
<DxPager
|
||||||
:visible="true"
|
:visible="true"
|
||||||
:allowed-page-sizes="[5, 10, 50]"
|
:allowed-page-sizes="[5, 10, 50]"
|
||||||
display-mode="compact"
|
display-mode="compact"
|
||||||
:show-page-size-selector="true"
|
:show-page-size-selector="true"
|
||||||
:show-info="true"
|
:show-info="true"
|
||||||
:show-navigation-buttons="true"
|
:show-navigation-buttons="true"
|
||||||
info-text="Hal {0} dari {1} ({2} data)" />
|
info-text="Hal {0} dari {1} ({2} data)" />
|
||||||
<DxFilterRow :visible="true" />
|
<DxFilterRow :visible="false" />
|
||||||
<DxColumn :allow-filtering="false" cell-template="row-cell-template" caption="No" :width="45"></DxColumn>
|
<DxColumn cell-template="row-cell-template" caption="No" :width="45"></DxColumn>
|
||||||
<DxColumn :allow-filtering="false" data-field="tahun" caption="Tahun DRP" alignment="left"></DxColumn>
|
<DxColumn data-field="tahun" caption="Tahun DRP" alignment="left"></DxColumn>
|
||||||
<DxColumn :allow-filtering="false" data-field="approveStatus" caption="Status Approve" editor-type="dxCheckBox">
|
<DxColumn data-field="approveStatus" caption="Status Approve" editor-type="dxCheckBox">
|
||||||
<DxLookup
|
<DxLookup
|
||||||
display-expr="name"
|
display-expr="name"
|
||||||
value-expr="value"
|
value-expr="value"
|
||||||
:data-source="approveStatus"
|
:data-source="approveStatus"
|
||||||
/>
|
/>
|
||||||
</DxColumn>
|
</DxColumn>
|
||||||
<DxColumn :allow-filtering="false" data-field="approveDate" caption="Tanggal Approve" data-type="date"></DxColumn>
|
<DxColumn data-field="approveDate" caption="Tanggal Approve" data-type="date"></DxColumn>
|
||||||
<DxColumn :allow-filtering="false" type="buttons" caption="Aksi">
|
<DxColumn type="buttons" caption="Aksi">
|
||||||
<DxButton
|
<DxButton
|
||||||
text="Dokumen"
|
text="Dokumen"
|
||||||
icon="attach"
|
icon="attach"
|
||||||
hint="Dokumen Pendukung DRP"
|
hint="Dokumen Pendukung DRP"
|
||||||
:on-click="linkDokumen"
|
:on-click="linkDokumen"
|
||||||
/>
|
/>
|
||||||
<DxButton
|
<DxButton
|
||||||
text="Detil"
|
text="Detil"
|
||||||
icon="search"
|
icon="search"
|
||||||
hint="Detil/Konten DRP "
|
hint="Detil/Konten DRP "
|
||||||
:on-click="linkDetail"
|
:on-click="linkDetail"
|
||||||
/>
|
/>
|
||||||
<DxButton
|
<DxButton
|
||||||
text="Kirim"
|
text="Kirim"
|
||||||
icon="movetofolder"
|
icon="movetofolder"
|
||||||
hint="Kirim DRP"
|
hint="Kirim DRP"
|
||||||
@ -98,7 +98,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import DxDataGrid, {
|
import DxDataGrid, {
|
||||||
DxEditing,
|
DxEditing,
|
||||||
DxItem,
|
DxItem,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user