Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
130
how to group column header
posted

hi there ! 

my name is robin

i'm studying c# & winforms . i want to make datagrid like atatched file

but can't combine column1 in 2 rows(row0 and row1)

my soure code is like this

UltraGridUtil.InitColumnUltraGrid(ug_IssueList, "CLAIM_CODE", "quality issue", true, GridColDataType_emu.VarChar, 60, 10, "", Infragistics.Win.HAlign.Center, true, false);
UltraGridUtil.InitColumnUltraGrid(ug_IssueList, "OCC_DATE_Y", "year", true, GridColDataType_emu.VarChar, 50, 10, "", Infragistics.Win.HAlign.Center, true, false);
UltraGridUtil.InitColumnUltraGrid(ug_IssueList, "OCC_DATE_M", "month", true, GridColDataType_emu.VarChar, 50, 10, "", Infragistics.Win.HAlign.Center, true, false);
UltraGridUtil.InitColumnUltraGrid(ug_IssueList, "OCC_DATE_D", "date", true, GridColDataType_emu.VarChar, 50, 10, "", Infragistics.Win.HAlign.Center, true, false);

UltraGridUtil.ColumnHeaderGroup(this.ug_IssueList, "group1", "quality issue", "CLAIM_CODE");
UltraGridUtil.ColumnHeaderGroup(this.ug_IssueList, "group2", "occur date", "OCC_DATE_Y,OCC_DATE_M,OCC_DATE_D");

plz send me reply if you know :(

Parents Reply Children
No Data