-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Table not displaying new rows #1426
Comments
in the current version, the table does not support the dynamic addition of rows |
@olton thanks for the speedy reply, that is a shame though. I appreciate you taking the time to answer. |
I do not consider my work a shame! |
New in 4.3.2
or
|
Hello, sorry to ask but in the sample |
now |
Thanks, it's working now. Is there a way to fully clean the rows of the table also ? |
Hack
|
Thanks again, working perfectly. |
I added method |
In 4.3.3 to clear table you can call the method clear:
|
I am using Metro-UI table (data-role="table") and have found if I add rows dynamically the table does not display the new rows.
If I bring it back to a normal table (without data-role="table") then the new rows display fine.
Essentially I am adding the rows like this:
Is there a way to force the table to redraw after I add a row (i.e. add a new book to BookList)
I am guessing it is because in the background the Metro-UI table is being refreshed / managed by the Metro-UI JavaScript that seems to ignore the new rows once the table is initially created.
In the case of just a normal
<table></table>
then it just redraws each time I add a row...In essence I am just looking for a way for the table to refresh / redraw.
Thanks in advance.
The text was updated successfully, but these errors were encountered: