Subhrajyoti Moitra wrote:
> Hi Folks,
> 
> Suppose if I have a PdfPTable(4).
> And I only add 3 PdfPCell(), each with custom cell event, then 
> cellLayout() method in the cell events, are not called.
> However, if i add, lets say 5 cells, then for the first 4 cells, the 
> cell events are called, but not for the one remaining cell.
> 
> I know, I am doing something insanely, wrong. Please be kind!! Please help!!

Either you have to complete the table (make sure you add a multiple of 4 
of cells; for instance 4, 8, 12,... cells). Or tell the table it should 
complete its rows. The default is that incomplete rows are ignored.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to