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

Welcome to the DataViewExtenders wiki!

Usage:

var tbl1 = CreateAndLoadDatatable();
// praparing Grids
this.departmentsGridView.GenerateColumns(this.departmentsBindingSource, 
    new ColumnDataDescriptor("Department", tbl1.DepartmentNameColumn),
    new ColumnDataDescriptor("Is closed?", tbl1.IsClosedColumn),
    new ColumnDataDescriptor("Group", tbl1.CompanyGroupColumn),
    new ColumnDataDescriptor("Remarks", tbl1.RemarksColumn, FillWeight: 100));
this.departmentsGridView.PrepareStyleForEditingData();
this.departmentsGridView.AddDataRowStateDrawingInRowHeaders();