Re: Clearing TreeView rows - how?



Igor Gorbounov wrote:

> Is there any way to blank all rows in a treeview? Now I scan all cells
> and blank their contents sequentially. Hope that exists some better
> solution.
To completly empty the view, just replace the model with an empty one.
To empty just some cells (not entire rows) you have to empty 'em in the
underlying MODEL.
To filter rows I knew there was a "filtered view", but it's quite a long
time since I looked at that...

Hope that helps.

BYtE,
 Diego.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]