Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Having trouble displaying DetailRow #81

Open
xingfanxia opened this issue Jan 23, 2018 · 3 comments
Open

Having trouble displaying DetailRow #81

xingfanxia opened this issue Jan 23, 2018 · 3 comments

Comments

@xingfanxia
Copy link

Hi, I am having trouble displaying detail row. I followed tutorial but skipped customized actions. Here are my related files.
Archive.zip

@xingfanxia
Copy link
Author

When I clicked the cell, nothing happened except for the console.log command defined in onCellClicked

@ratiw
Copy link
Owner

ratiw commented Jan 26, 2018

@xxf1995 Please put your code in GitHub repo. It's easier for me to look at the code without having to download it.

@raimi6
Copy link

raimi6 commented Aug 30, 2018

I had similar problem, had to change code https://github.com/ratiw/vuetable-2-tutorial/wiki/lesson-12

from
onCellClicked (data, field, event) { console.log('cellClicked: ', field.name) this.$refs.vuetable.toggleDetailRow(data.id) }
to
onCellClicked ({data}) { this.$refs.vuetable.toggleDetailRow(data.id) },

my Data variable structure was different from example code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants