개정판 4b32f8ec
issue #0000 markupdata column 사이즈 조정
Change-Id: Idd04c334081ddcdd9483e3bd4e001e01599b3347
ID2.Manager/ID2.Manager/Main.cs | ||
---|---|---|
679 | 679 |
{ |
680 | 680 |
DetailGridViewTemplate markupList = new DetailGridViewTemplate(); |
681 | 681 |
|
682 |
markupList.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.None; |
|
683 |
|
|
684 | 682 |
GridViewTextBoxColumn userColumn = new GridViewTextBoxColumn("CREATE_USER"); |
685 | 683 |
GridViewTextBoxColumn textColumn = new GridViewTextBoxColumn("TEXT"); |
686 |
|
|
684 |
|
|
687 | 685 |
userColumn.AutoSizeMode = BestFitColumnMode.AllCells; |
688 | 686 |
textColumn.AutoSizeMode = BestFitColumnMode.AllCells; |
689 |
|
|
687 |
|
|
690 | 688 |
markupList.Columns.AddRange(userColumn, textColumn); |
689 |
markupList.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill; |
|
690 |
|
|
691 | 691 |
this.radGridViewDocuments.MasterTemplate.Templates.Add(markupList); |
692 | 692 |
markupList.HierarchyDataProvider = new GridViewEventDataProvider(markupList); |
693 | 693 |
|
... | ... | |
712 | 712 |
e.SourceCollection.Add(row); |
713 | 713 |
} |
714 | 714 |
|
715 |
e.Template.BestFitColumns(); |
|
715 |
e.Template.BestFitColumns(BestFitColumnMode.DisplayedDataCells);
|
|
716 | 716 |
} |
717 | 717 |
} |
718 | 718 |
} |
... | ... | |
720 | 720 |
|
721 | 721 |
private void RadGridViewDocuments_ChildViewExpanded(object sender, ChildViewExpandedEventArgs e) |
722 | 722 |
{ |
723 |
if (e.IsExpanded) |
|
724 |
{ |
|
725 |
} |
|
723 | 726 |
} |
724 | 727 |
|
725 | 728 |
#endregion |
내보내기 Unified diff