pedram
pedram

Reputation: 3767

is there any way to hide list view Item in .net 2.0

is there any way to hide list view Item in ListView ?

Upvotes: 2

Views: 1445

Answers (2)

decyclone
decyclone

Reputation: 30830

If you want to hide a specific row, you can use a filtered view as ListView's data source such as DataView. By setting filters on it, it will hide specific rows. You can also create custom filtered views.

Upvotes: 0

thelost
thelost

Reputation: 6694

You could override the rendering logic and choose for yourself which items to be ignored (i.e. not to be rendered, but still exist in the item collection).

Upvotes: 1

Related Questions