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
I have a grid (layout) with 3 widgets on it. On is positioned on col/row: 1,1 with size: 2, 39 the other 2 are at col = 3.
Then I want to add another widget. Before I do that when I ask the rows. I'm getting this:
layout.rows => 339
I then do this: layout.add_widget('<li id="layoutComp_4 class="layout_block gs-w" data-id="top_project_list"/>', 2, 39, 1, 1);
It takes a couple of seconds before it appears, and when I then check the rows again, I'm getting this:
layout.rows => "33939"
So it suddenly becomes a string?
What am I missing here? It doesn't matter if I add the widget at 1, 1 or at 1, 40 (which should be empty).
The text was updated successfully, but these errors were encountered:
Solved this with pull request: #426 which solved my problem.
Sorry, something went wrong.
fix(gridster): wrong addition solved in add_faux_rows/cols by adding …
d947175
…parseInt Closes ducksboard#426, ducksboard#425
No branches or pull requests
I have a grid (layout) with 3 widgets on it. On is positioned on col/row: 1,1 with size: 2, 39 the other 2 are at col = 3.
Then I want to add another widget. Before I do that when I ask the rows. I'm getting this:
I then do this:
layout.add_widget('<li id="layoutComp_4 class="layout_block gs-w" data-id="top_project_list"/>', 2, 39, 1, 1);
It takes a couple of seconds before it appears, and when I then check the rows again, I'm getting this:
So it suddenly becomes a string?
What am I missing here? It doesn't matter if I add the widget at 1, 1 or at 1, 40 (which should be empty).
The text was updated successfully, but these errors were encountered: