Skip to content
Radu Martin edited this page Apr 14, 2017 · 18 revisions

Welcome to the DataViewExtenders wiki!

Usage:

var tbl1 = CreateAndLoadDataTable();
...
gridView.GenerateColumns(BindingSource, 
    new ColumnDataDescriptor("Header#1", tbl1.Column1),
    new ColumnDataDescriptor("Header#2", tbl1.Column2),
    new ColumnDataDescriptor("Header#3", tbl1.Column3, FillWeight: 100));
gridView.PrepareStyleForEditingData();
gridView.AddDataRowStateDrawingInRowHeaders();