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

support table thead slot #171

Closed
pipinet opened this issue Mar 21, 2020 · 2 comments
Closed

support table thead slot #171

pipinet opened this issue Mar 21, 2020 · 2 comments

Comments

@pipinet
Copy link

pipinet commented Mar 21, 2020

difficult to get two columns aligned with two table.

in source code 578 line

if (istable) {
        let tableElements = [];
        if (this.$scopedSlots['thead'] !== void 0) {
          tableElements.push(this.$scopedSlots['thead']());
        }
        tableElements.push(h('tbody', list));
        list = [h('table', tableElements)]
}
@pipinet pipinet changed the title support table thead support table thead slot Mar 21, 2020
@molon
Copy link

molon commented Mar 24, 2020

Why not directly construct the entire container through a callback? table/colgroup/thead/tbody/blabla...

function callback(h, list) list {
     table/colgroup/thead/tbody/blabla...
}

Oh. May also need to feedback an extra heights.

@tangbc
Copy link
Owner

tangbc commented Apr 11, 2020

Table still has many questions, I plan in the future, but not soon, I want close this temporary.

@tangbc tangbc closed this as completed Apr 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants