Merging an image cell with the following code.... ------------------------------------------------- grdTabularView.DisplayLayout.Bands[0].Columns.Add("DOSE_RESPONSE_CURVE"); grdTabularView.DisplayLayout.Bands[0].Columns["DOSE_RESPONSE_CURVE"].DataType = typeof(Image); grdTabularView.DisplayLayout.Bands[0].Columns["DOSE_RESPONSE_CURVE"].MergedCellStyle = MergedCellStyle.Always; grdTabularView.DisplayLayout.Bands[0].Columns["DOSE_RESPONSE_CURVE"].MergedCellEvaluationType = MergedCellEvaluationType.MergeSameValue; grdTabularView.DisplayLayout.Override.RowSizing = RowSizing.Free; grdTabularView.DisplayLayout.Bands[0].Columns["DOSE_RESPONSE_CURVE"].AllowRowFiltering = DefaultableBoolean.False; grdTabularView.DisplayLayout.Bands[0].Columns["DOSE_RESPONSE_CURVE"].CellAppearance.BorderAlpha = Alpha.Transparent; --------------------------------------------------- The image cell merges its value in the Tabular View display! But when I export this to PDF, merge cell value is repeated in the PDF like no merging takes place. Also, supposed to be "cloned DisplayLayout" that we can play with in the "BEGINEXPORT", "ENDEXPORT" events, will not work either..anything I change there is impacting the actual display rather than the PDF export.
Merging an image cell with the following code....
-------------------------------------------------
grdTabularView.DisplayLayout.Bands[0].Columns.Add("DOSE_RESPONSE_CURVE");
grdTabularView.DisplayLayout.Bands[0].Columns["DOSE_RESPONSE_CURVE"].DataType = typeof(Image);
grdTabularView.DisplayLayout.Bands[0].Columns["DOSE_RESPONSE_CURVE"].MergedCellStyle = MergedCellStyle.Always;
grdTabularView.DisplayLayout.Bands[0].Columns["DOSE_RESPONSE_CURVE"].MergedCellEvaluationType = MergedCellEvaluationType.MergeSameValue;
grdTabularView.DisplayLayout.Override.RowSizing = RowSizing.Free;
grdTabularView.DisplayLayout.Bands[0].Columns["DOSE_RESPONSE_CURVE"].AllowRowFiltering = DefaultableBoolean.False;
grdTabularView.DisplayLayout.Bands[0].Columns["DOSE_RESPONSE_CURVE"].CellAppearance.BorderAlpha = Alpha.Transparent;
---------------------------------------------------
The image cell merges its value in the Tabular View display! But when I export this to PDF, merge cell value is repeated in the PDF like no merging takes place.
Also, supposed to be "cloned DisplayLayout" that we can play with in the "BEGINEXPORT", "ENDEXPORT" events, will not work either..anything I change there is impacting the actual display rather than the PDF export.
PDF Export -------------------------------------- public Report _oReport = new Report(); ultraGridDocumentExporter1.Export(grdTabularView, oReport); _oReport.Publish(_fileName, FileFormat.PDF); ---------------------------------- Any help will be greatly appreciated...I contacted Infragistics Support team. I have got no help so far (it has been 6 - 7 weeks). They said, image cell can not be merged period..even in the display..but that is not true..I could see it is working on the display but not working when I export the same to PDF.
PDF Export
--------------------------------------
public Report _oReport = new Report();
ultraGridDocumentExporter1.Export(grdTabularView, oReport);
_oReport.Publish(_fileName, FileFormat.PDF);
----------------------------------
Any help will be greatly appreciated...I contacted Infragistics Support team. I have got no help so far (it has been 6 - 7 weeks). They said, image cell can not be merged period..even in the display..but that is not true..I could see it is working on the display but not working when I export the same to PDF.
Hi,
What version of the controls are you using?
I'm not sure if the UltraGridDocumentExporter can suppose cell merging. But whether it does or doesn't, it makes no difference what the data type of the column is.
We are using "NetAdvantage 2011.1"
Hello,
I was able to reproduce the issue using NetAdvantage 2011 Volume 2 with both an image column and a string column.
So what is the solution to my problem ? What are your recommendations or approaches to do it differently but achieve what I want?
I submitted this to engineering as a development issue with an ID# of 99800. I will make more posts when I have more information.