if you remove
Qt Code:
  1. insertRow(row)
To copy to clipboard, switch view to plain text mode 
then a row isn't created.
number of rows and columns should be specified before inserting items.