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.
Unfortunately, activation email could not send to your email. Please try again.

PdfLightTable without DataSource

Thread ID:

Created:

Updated:

Platform:

Replies:

68353 Sep 19,2007 04:32 AM Jan 20,2009 08:03 AM Windows Forms 7
loading
Tags: PDF
Kevin Hector
Asked On September 19, 2007 04:32 AM

Hi. Do you have a full sample for using PdfLightTable objects without a DataSource?

I have created a very simple project using the evaluation version of Essential PDF but I am getting a PdfLightTableException ("Can't draw table, because there is not enough space for it."). This is probably because I have misunderstood the handling of layout events.

A full sample showing the correct handling of PdfLightTable layout events (including column spanning) to provide data and styles to table rows would be very useful.

My version is 5.2.0.25

Many thanks

Kevin Hector
Replied On September 19, 2007 06:32 AM

OK, I no longer get this exception. It appeared to be because cells contained no text.

Melba Winshia [Syncfusion]
Replied On September 25, 2007 06:54 AM

Hi Kevin,

Thank you for the update.

Glad to hear that this issue has been resolved.

Please let me know if you have any other questions.

Thanks,
Melba

Dennis van der Stelt
Replied On July 18, 2008 09:33 AM

I'd still like to see a full example of this.
And you guys keep referring to examples here on the forums, but is there a complete listing of these examples somewhere?

Thanks
Dennis


Sri Subhashini M [Syncfusion]
Replied On July 22, 2008 08:29 AM

Hi Dennis,

Thank you for your interest in Syncfusion PDF.

1. PdfLightTable layout events Handling

We can customize the table with the help of the layout events. The below events are available to customize the table,

1. BeginPageLayout - This event is raised before layouting has started on a page.
2. EndPageLayout - This event is raised when layouting on a page has finished
3. BeginRowLayout - This event is raised when row layouting has started.
4. EndRowLayout - This event is raised when row layouting has finished.
5. BeginCellLayout - This event is raised when cell layouting has started
6. EndCellLayout - This event is raised when cell layouting has finished.

Please do find the sample from the below specified link and let me know if this helps.
http://www.syncfusion.com/support/user/uploads/Sample_adbbfba2.zip

Please refer the user guide for more information about table feature


2. Samples

You can refer the samples from the below specified locations,

My Documents\Syncfusion\EssentialStudio\6.3.0.30\Windows\Pdf.Windows\Samples
My Documents\Syncfusion\EssentialStudio\6.3.0.30\Web\pdf.web\Samples

Please let me know if you need customized sample according to your requirement.

Regards,
Suba



Wick
Replied On January 15, 2009 11:29 PM

What is the difference between the BeginCellLayoutEventHandler and the EndCellLayoutEventHandler?

Is there a way to update the layout after drawing something into a cell? If the graphic I draw are taller than the row, the row does not automatically stretch vertically. Is there a way to accomplish this?


Geetha M [Syncfusion]
Replied On January 19, 2009 08:55 AM

Hi Wick,

I am working on this and will update you tomorrow.

Regards,
Geetha


Geetha M [Syncfusion]
Replied On January 20, 2009 08:03 AM

Hi Wick,

Thank you for your patience.

It is not possible to change the bounds of a cell after drawing it. You can get details of the table events from the below documentation link:

http://help.syncfusion.com/ug_71/pdf/TableCustomization.html

Please let me know if you have any questions.

Regards,
Geetha


CONFIRMATION

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.

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.

;