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

Problems with switching grid templates #8

Open
colin-young opened this issue Dec 19, 2013 · 1 comment
Open

Problems with switching grid templates #8

colin-young opened this issue Dec 19, 2013 · 1 comment

Comments

@colin-young
Copy link

If I use

var TableTemplateRows = [
    " A A A B B B C C C D D D "
]
var GridTemplateRows = [
    " A A A A ",
    " B B B B ",
    " C C D D "
];

things work as expected and I can switch back and forth. If I change it to almost anything else, e.g.:

var TableTemplateRows = [
    " A A A B B B C C C D D D "
]
var GridTemplateRows = [
    " A A A A ",
    " B B C C ",
    " B B D D ",
    " E E E E ",
    " F F . . "
];

and now I can't switch. Usually what happens is the GridTemplate becomes unusable. I don't see any javascript errors in the console (like I do if I introduce an actual error). Is there some rule about how the templates need to relate to each other?

See fiddle

Thanks.

@tommedema
Copy link

I'm curious if this project was abandoned, seems like there is not much interaction lately.

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

2 participants