Hi,

I had this working yesterday, my table was being updated / refreshed by doing the following :

Qt Code:
  1.  
  2. beginInsertRows(index, 1, nAmount);
  3.  
  4. if( pData )
  5. {
  6. for( int i = 0; i < nAmount; i++ )
  7. {
  8. m_Data.append(pData[i].strId);
  9. m_Data.append(pData[i].strTime);
  10. m_Data.append(pData[i].strData);
  11. QString strCount;
  12. strCount.sprintf( "%i", nCount );
  13. m_Data.append(strCount);
  14. nCount++;
  15. }
  16. }
  17. endInsertRows();
To copy to clipboard, switch view to plain text mode 

Now, the table is only refreshed when it scrolls or I click on it?

Don't know what is wrong?!

Any help is appreciated.
Steve