WPF and the Missing DataGrid

3/12/2007 2:57:24 AM
I've been getting into WPF more and more lately. It is a lot of fun and once the tooling really catches up and there are more example apps and tutorials, I think the learning curve will drop a lot. One of the big complaints I hear is the WPF does not ship with a datagrid. There are a couple of third party options, but now that I have started to actuall build some stuff with WPF, I think you have to really step back and see if you really need a datagrid.

The datagrid makes it easy to lay out data, especially in the layout challenged world of WinForms (as compared to WPF at least). Using nothing but a simple listbox, you can do some wonderful things as far as data display. For a lot of scenarios, this easily replaces what you were using the datagrid for. With a touch more work, you can easily add some sorting and filtering capabilities as well.

If you need advanced mult-column sorting or filtering, inline data editing, etc. then maybe you do need one of the 3rd party grids. But if you need to do basic display/sorting/filtering/etc., WPF gives you all the tools.

Currently rated 4.0 by 1 people

  • Currently 4/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Slick Thoughts

Related posts

Comments are closed

Powered by BlogEngine.NET 1.3.1.0
Theme by Mads Kristensen

About the author

Jeff Brand Jeff Brand

This is the personal web site of Jeff Brand, self-proclaimed .NET Sex Symbol and All-Around Good guy. Content from my presentations, blog, and links to other useful .NET information can all be found here.

E-mail me Send mail


Calendar

<<  May 2008  >>
MoTuWeThFrSaSu
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678

View posts in large calendar

Twitter Updates

    Follow Me on Twitter

    Recent comments

    Disclaimer

    The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

    © Copyright 2008

    Sign in