Pros and Cons for using Grid as ListView

  • Thread starter Thread starter Jack Wright
  • Start date Start date
J

Jack Wright

Dear All,
I am being tempted to use Grid as a ListView...and don't see a
reason why I should not use it as a ListView...I would like to know
the Pros and Cons for using Grid as a ListView...

Please help...

TALIA

Many Regards
Sunil
 
Pros:
- DataGrid supports databinding
- DataGrid supports datatypes other than string (but you
can always call ToString in a ListView)
- DataGrid supports sorting (but that can be
implemented in ListView since the native control
supports it)

Cons:
- DataGrid has a few bugs
- DataGrid is harder to work with (IMHO)
- DataGrid doesn't support fullrow select (but that can
be implemented)
- DataGrid doesn't look as nice and clean as a listview (IMHO)

We tried using datagrids as listviews in a project. That didn't work
very well so we switched to real listviews.

/claes
 
Back
Top