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
1775
Export of merge cells
posted

Hello!

While merging cells in browser I try to export grid to PDF. Result is that the cells are't merged.

Code:

DataTable dt = new DataTable("MyTable");

dt.Columns.Add("index", typeof(int));

dt.Columns.Add("name", typeof(string));

dt.Columns.Add("sex", typeof(bool));

 

for (int i = 0; i <= 10; i++)

   {

     dt.Rows.Add(new object[] { i, "Tom" + i, true });

   }           

 

this.UltraWebGrid1.DataSource = dt;

this.UltraWebGrid1.Columns.FromKey("sex").MergeCells = true;

 

Result in browser:

 

Result in PDF:

 

Using this component:

 

Thank you!

 

Parents Reply Children