Page 1 of 1

Split table in rich text field

Posted: Tue Jan 22, 2019 12:32 pm
by Fabricio
When there is a table in rich text, the split repeats the row on the other page, as shown in the image.
I am using a rich text field with all the information.

this is code:

Code: Select all

            StiReport report = new StiReport();
            report.Load(@"e:\temp\Report.mrt");
            StreamReader reader = new StreamReader(@"e:\temp\tabela1.rtf");
            string str = reader.ReadToEnd();
            reader.Close();
            var richtext = (report.GetComponentByName("Texto1") as StiRichText);
            var page1 = (report.GetComponentByName("Page1") as StiPage);

            richtext.SetText(System.Xml.XmlConvert.EncodeName(StiRichText.PackRtf(str)));

            report.Show();

Image

Re: Split table in rich text field

Posted: Tue Jan 22, 2019 5:45 pm
by Lech Kulikowski
Hello,

Please send us a sample report with test data which reproduces the issue for analysis.

Thank you.