hi guys,

i have solved it i should have just chnage this

Qt Code:
  1. int countRows = testInstIDs.count()*10;
To copy to clipboard, switch view to plain text mode 

to this:

Qt Code:
  1. int countRows = numRows+10;
To copy to clipboard, switch view to plain text mode