Yes, you are right, which both took this bit of code, giving me the result I want.

Qt Code:
  1. if ((role == Qt::BackgroundRole) &&
  2. (index(idx.row(), 9, idx.parent()).data().toInt() == 0))
To copy to clipboard, switch view to plain text mode 

Thanks again,

Marcelo E. Geyer