Table disappears when removing rows
I am trying to remove Rows, using...
Apperyio("myTable").find("tr:gt(0)").remove();
I can confirm that all Rows are removed from the DOM (confirmed using Chrome dev tools), except the first row. As desired. However, upon executing the above, the table disappears from the screen. Neither Apperyio("myTable").show() nor Apperyio("myTable").refresh() make the table appear again.
What am I missing?
Thank you for your help in advance.