SVN r416
SVN-Revision: r416
This commit is contained in:
@@ -6723,10 +6723,12 @@ namespace Lskj.Control
|
||||
{
|
||||
FieldName = dynamicFieldName,
|
||||
Caption = subField.FieldText,
|
||||
Visible = true,
|
||||
Width = subField.Width,
|
||||
Visible = subField.Visible,
|
||||
Tag = subField,
|
||||
Width = subField.Width, // 如果有特定宽度也可以赋值,若无则忽略
|
||||
OptionsColumn = { FixedWidth = true } // <-- 明确设置固定宽度
|
||||
MinWidth = subField.Width,
|
||||
MaxWidth = subField.Width,
|
||||
OptionsColumn = { AllowEdit = subField.Edit, FixedWidth = true }
|
||||
};
|
||||
|
||||
bandedGridControlEx.SetColumnFormat(subColumn, subField);
|
||||
|
||||
Reference in New Issue
Block a user