We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Table header does not react correctly when hiding collumns. Label stays present
<md-switch v-model="tableFields.new_code">New Code</md-switch> (...) <md-table-row slot="md-table-row" slot-scope="{ item }"> <md-table-cell md-label="New Code" md-sort-by="new_code" v-if="tableFields.new_code">{{ item.new_code }}</md-table-cell> <md-table-cell md-label="Old Code" md-sort-by="old_code" v-if="tableFields.old_code">{{ item.old_code }}</md-table-cell> <md-table-cell md-label="Title" md-sort-by="title" v-if="tableFields.title">{{ item.title }}</md-table-cell> <md-table-cell md-label="Materials" md-sort-by="materials" v-if="tableFields.materials">{{ item.materials }}</md-table-cell> <md-table-cell md-label="Technic" md-sort-by="technic" v-if="tableFields.technic">{{ item.technic }}</md-table-cell> <md-table-cell md-label="Year" md-sort-by="creation_year" v-if="tableFields.creation_year" md-numeric>{{ item.creation_year }}</md-table-cell> </md-table-row> ... data() { return { tableFields: { new_code: true, old_code: false, title: true, materials: false, technic: false, creation_year: true, }, }
When hiding new_code, content disapears but not the header
I tested in Firefox and Chrome. I think this is not related to a specific browser.
Header column should disapear
I could not setup a proper codePen but I'll try again if needed
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
Reproduction: https://codepen.io/VdustR/pen/BJpWOq
fix(MdTable): remove table head when column removed (#1354)
b54eb10
fix #1347
Successfully merging a pull request may close this issue.
Table header does not react correctly when hiding collumns. Label stays present
Steps to reproduce
When hiding new_code, content disapears but not the header
Which browser?
I tested in Firefox and Chrome. I think this is not related to a specific browser.
What is expected?
Header column should disapear
Reproduction Link
I could not setup a proper codePen but I'll try again if needed
The text was updated successfully, but these errors were encountered: