cancel
Showing results for 
Search instead for 
Did you mean: 

Deleting row in matrix.

Former Member
0 Kudos

Hello.

I have weird problem.

If I add some rows to matrix, and then delete rows the method with:


m_pMatrix->GetRowCount();

return the number of rows without delete.

For example:

If i have matrix with 5 rows, and I delete 2 rows, method with GetRowCount show me 5

What is wrong ?

I solved this problem with adding new variable, but why does it work wrong ?

Sorry for my english.

Regards

Kamil Wydra

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You could try using the VisualRowCount which is the number of rows excluding deleted and collapsed rows. Perhaps is what you need.

Regards,

Ibai Peñ

Former Member
0 Kudos

Hello.

Thank You for Your response.

I try that and it works.

Thanks again.

Regards

Kamil Wydra

Answers (0)