ohah/vue3-tui-grid

Error when retrieving data of focused row

Closed this issue · 3 comments

Hi,

An error occurs when calling the 'getRow' function to get the data of the focused row

#version
vue 3.2.27
tui-grid 4.21.2

my code

const GridTable = ref();
let grid = ref();     
let instance = ref();

onMounted(() => {
 grid = GridTable.value;
 instance = grid.gridInstance;
});

const handleEdit = () => {
 const {rowKey} = instance.getFocusedCell();
 console.log(instance.getRow(0));
}

error

image

ohah commented

thank you
fix it over the weekend

Hi,
Is the problem resolved?

ohah commented

@yangyeongwon fixed v0.151