We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

PdfGrid repeat first row across pages

Thread ID:





121003 Nov 2,2015 01:26 PM UTC Nov 4,2015 04:26 AM UTC WinRT 3
Tags: PDF
Brian Seelig
Asked On November 2, 2015 01:26 PM UTC

I have a PdfGrid that I'm manually populating, not using DataTable, and I want the first row of the grid to repeat across pages. Is this possible to do without using a DataTable?


Abirami Selvan [Syncfusion]
Replied On November 3, 2015 09:30 AM UTC

Hi Brain,
Thank you for contacting syncfusion support.
We can use PDF grid header to repeat the rows across all the pages. We have created the simple sample for your reference.
Please refer to the following code example:
//Create the pdfgrid

PdfGrid pdfGrid = new PdfGrid();

//Add grid columns


//Add the header

PdfGridHeaderCollection headers=pdfGrid.Headers;

PdfGridRow[] header=headers.Add(1);

header[0].Cells[0].Value = "header cell 1";

header[0].Cells[1].Value = " header cell 2";

//enable the repeat header as true.

pdfGrid.RepeatHeader = true;
Please refer the sample:
Please try this and let us know if you need any further assistance.

Brian Seelig
Replied On November 3, 2015 03:30 PM UTC

This worked perfectly. Thank you,

Abirami Selvan [Syncfusion]
Replied On November 4, 2015 04:26 AM UTC

Hi Brain,

Thank you for your update. Please let us know if you need any further assistance.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon