-
Notifications
You must be signed in to change notification settings - Fork 18
Home
Radu Martin edited this page Apr 14, 2017
·
18 revisions
Welcome to the DataViewExtenders wiki!
Usage for DataGridView:
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();
Usage for FlowLayoutPanel:
layoutPanel.GenerateGroups(BindingSource,
new GroupDataDescriptor("GroupName#1",
new FieldDataDescriptor("Header#1", tbl1.Column1, IsReadOnly: true),
new FieldDataDescriptor("Header#2", tbl1.Column2)),
new GroupDataDescriptor("GroupName#2", (int)DataDescriptorSizeWidth.Smaller,
new FieldDataDescriptor("Header#3", tbl1.Column3)));
Extenders:
DataGridView
DataGridViewColumn
FlowLayoutPanel
TableLayoutPanel
Features:
SelectItemForm
Settings
Components:
BitMaskCheckedListBox
HeaderTableLayoutPanel
SelectItemForm