Hi,
I want multi levels of columns in Ultrawingrid like
Level1
level1.1 level1.2
Level 1.1.1 Level 1.1.2 Level 1.1.1 level1.2.1 level1.2 .2
I want three levels of column. How can we achive this using ultrawingrid
Hi Boris,
thnx for ur rply.
In my case i get columns at runtime. so i cannot set the groups at design time.
please provide me some solution for grouping three levels column header similar as shown in above tabular snap. i dont have columns at design time.
the column headers of below snap are to be shown in 3 groups.
thnx in advance.
Hello,
Could you please review the sample attached to this post and see if it meets your requirements.
Please feel free to let me know if I misunderstood you or if you have any other questions.
can u pls rply for it its very urgent for me. The code is somethinh like this.
public void FillGrid(DateTime dt1, DateTime dt2,DataSet dsMain){ DataRow drow; DataTable dtFill = new DataTable(); DataTable dtgrid = new DataTable();
try { dsTemp = dsMain;
TimeSpan ts = dt2 - dt1; int mday = ts.Days;
for (int icount = 0; icount <= mday; icount++) { dtFill.Columns.Add(Convert.ToString(objCommonFunction.ProcGetDateFormat(Convert.ToString(dt1.AddDays(icount)))).Substring(0,5) + Environment.NewLine + Convert.ToString(dt1.AddDays(icount).DayOfWeek).Substring(0, 3), System.Type.GetType("System.String")); }
grdFactorywiseDet.DataSource = dtFill; grdFactorywiseDet.DataBind();
catch (Exception ex) { MessageBox.Show(ex.Message); }}
basically the dates which i am binding are in normal format (dd mm yyyy) which takes more space. so i want to make groups as shown in above snap.
Kindly rply its very urgent..
dey are just strings which i assign to dataset by saying dataset.columns.add("date1") and so on and den bind the dataset to the grid
I want to show column Headings in 3 groups basically. I am getting column names ie (some particular date) at runtime and that date i want to show in 3 level groups similar to the snapshot.
Thnx in advance Boris.
Could you please clarify what type of objects are these fields - March, April,1,2,3,Mon,Tue,Thu.
Please do not hesitate to contact us if you need any additional assistance.