Tuesday, 7 July 2009

ColumnChoosers and Such-Like

A C# dgv column chooser? is that too much to ask?

Infragistics have a solution, that works as follows:

(basically you need to set the RowSelectorHeaderStyle property on the DisplayLayout property of the grid.)

using Infragistics.Win;
using Infragistics.Win.UltraWinGrid;
this.ultraGrid1.DisplayLayout.Override.RowSelectorHeaderStyle =
RowSelectorHeaderStyle.ColumnChooserButton;


Telerik also have a solution via their winforms gridview:

http://www.telerik.com/help/winforms/telerik.wincontrols.gridview-telerik.wincontrols.ui.radgridview-columnchooser.html

No comments: