How can insert one row for filter-selector upside the binding datasource ,but under the columnsheader

Apr 28, 2009 at 2:52 AM
Problem is that , after  the datagrid is binded with one datatable,
 every time the datagrid is rendered,
i want to show one special datagridrow on top to show the filter selector for user to choose.

I have studied the wpftookit source code for one day ,but still don't know how to get through that?
it bothers me a lot now.

So, any help or advice will be greatly appreciated , thanks ~
May 19, 2009 at 3:07 PM

I'm very interesting too to this possible feature. Every third-party grid have it.


May 19, 2009 at 9:28 PM

I'm not sure what you want your final UI to look like, but have you considered customizing the column header to provide the filter UI? There are a variety of ways to customize the header, such as the Header property or HeaderTemplate property on DataGridColumn. There is also a DataGrid.ColumnHeaderStyle property.


May 26, 2009 at 2:09 PM

Hi all,

me too very intersted in this discussion.

Is there any way to shift a row(or a group of rows) to the top of the grid.


I want to move my selected rows  to the top.


Thanks in advance..