This commit is contained in:
2020-02-27 23:03:18 +00:00
parent 04df4a9a43
commit 704292ad6c
2 changed files with 18 additions and 7 deletions

View File

@@ -42,7 +42,7 @@ CURRENT ROADMAP
CURRENT TODOs
=-=-=-=-=-=-=
todo: post to server
todo: about link is showing on about form
TODO: No way to make a new widget now!!!
TODO: save (post) of new record at client triggers renavigation to that page again which also triggers fetch

View File

@@ -76,12 +76,17 @@
<!-- TEXT (also maybe openable)-->
<template v-if="c.i">
<!-- openable object with an ID -->
<v-btn
<div
class="subtitle-1"
@click="gridCellButtonClick(c.key, c.i)"
>
<a href="#"> {{ c.v }}</a>
</div>
<!-- <v-btn
depressed
small
@click="gridCellButtonClick(c.key, c.i)"
>{{ c.v }}</v-btn
>
>{{ c.v }}</v-btn> -->
</template>
<template v-else>
{{ c.v }}
@@ -222,12 +227,18 @@
<!-- TEXT (also maybe openable)-->
<template v-if="c.i">
<!-- openable object with an ID -->
<span
<div
class="subtitle-1"
@click="gridCellButtonClick(c.key, c.i)"
>
<a href="#"> {{ c.v }}</a>
</div>
<!-- <span
@click="gridCellButtonClick(c.key, c.i)"
class="primary--text subtitle-1 font-weight-bold"
style="cursor:pointer"
>{{ c.v }}
</span>
</span> -->
</template>
<template v-else>
{{ c.v }}
@@ -352,7 +363,7 @@ export default {
getHeaderText(key) {
//key format is row-column e.g."500-2"
var columnIndex = key.split("-")[1];
var header = this.headers[columnIndex - 1];
var header = this.headers[columnIndex];
if (header && header.text) {
return header.text;
}