Browse Source

feat: add form view remove/add all feature

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/559/head
Pranav C 3 years ago
parent
commit
c518fa1fc2
  1. 10
      packages/nc-gui/components/project/spreadsheet/views/formView.vue

10
packages/nc-gui/components/project/spreadsheet/views/formView.vue

@ -6,8 +6,12 @@
<div class="d-flex grey--text"> <div class="d-flex grey--text">
<span class="">Fields</span> <span class="">Fields</span>
<v-spacer /> <v-spacer />
<span class="caption mr-2 font-weight-bold" style="border-bottom: 2px solid grey">add all</span> <span
<span class="caption font-weight-bold" style="border-bottom: 2px solid grey">remove all</span> class="pointer caption mr-2 font-weight-bold"
style="border-bottom: 2px solid grey"
@click="columns=[...allColumns]"
>add all</span>
<span class="pointer caption font-weight-bold" style="border-bottom: 2px solid grey" @click="columns=[]">remove all</span>
</div> </div>
<draggable <draggable
v-model="hiddenColumns" v-model="hiddenColumns"
@ -47,7 +51,7 @@
</v-icon> </v-icon>
</div> </div>
</v-card> </v-card>
<div class="nc-drag-n-drop-to-hide py-3 text-center grey--text text--lighter-1"> <div class="mt-1 nc-drag-n-drop-to-hide py-3 text-center grey--text text--lighter-1">
Drag and drop field here to hide Drag and drop field here to hide
</div> </div>
</draggable> </draggable>

Loading…
Cancel
Save