Improve row examination
This commit is contained in:
parent
a51fc71990
commit
eeb104ee60
@ -10,13 +10,12 @@
|
||||
:paginationAutoPageSize=true
|
||||
:row-data="null"
|
||||
row-selection="single"
|
||||
:onSelectionChanged="openExamineLog"
|
||||
:onRowSelected="openExamineLog"
|
||||
:supress-horisontal-scroll="true"
|
||||
:enable-scrolling="true"
|
||||
></ag-grid-vue>
|
||||
<v-dialog
|
||||
v-model="examineLog"
|
||||
activator="parent"
|
||||
>
|
||||
<v-card>
|
||||
<v-card-text>
|
||||
@ -165,8 +164,9 @@ export default {
|
||||
console.error(e, eventData)
|
||||
}
|
||||
},
|
||||
openExamineLog () {
|
||||
const selectedRow = this.gridApi.getSelectedRows()[0];
|
||||
openExamineLog (row) {
|
||||
const selectedRow = row.data
|
||||
row.node.setSelected(false)
|
||||
this.examineLog = true
|
||||
const flattened = flattenObj(selectedRow)
|
||||
const pairs = [];
|
||||
|
Loading…
Reference in New Issue
Block a user