Project

General

Profile

Defect #586

Empty table row

Added by Lebohang Mofokeng over 10 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
Start date:
01/30/2014
Due date:
% Done:

0%

Estimated time:

Description

When the table rows skip on to a new page, the last row on the page is always empty, as shown on the image.


Files

Capture.PNG View Capture.PNG 16 KB Last row empty before skipping to new page Lebohang Mofokeng, 01/30/2014 11:01 AM
schedule.php schedule.php 6.17 KB Lebohang Mofokeng, 02/03/2014 01:19 PM
#1

Updated by Andrei Bintintan over 10 years ago

  • Assignee set to Andrei Bintintan
#2

Updated by Andrei Bintintan over 10 years ago

  • Status changed from New to In Progress
#3

Updated by Andrei Bintintan over 10 years ago

  • Status changed from In Progress to Feedback
  • Assignee changed from Andrei Bintintan to Lebohang Mofokeng

If split mode is enabled, then the whole table "height" is drawn, which might lead to such cases.

You could try to disable the split mode:

$oTable->setSplitMode( false );

Please specify which add-on you're using, which version and if you could send me a working sample to reproduce this?

#4

Updated by Lebohang Mofokeng over 10 years ago

Disabling split mode did the trick, the issue is now resolved. thanx!

#5

Updated by Andrei Bintintan over 10 years ago

Still, it can be seen as a bug.
When you disable the split-mode, the cells are NOT Splitted on a page-break. Eg: you have a 4 line cell, it will not be splitted.

Can you send me an "example" to reproduce this case? I could try to optimize it.

#6

Updated by Lebohang Mofokeng over 10 years ago

I have attached a PHP file that reproduces the issue

#7

Updated by Andrei Bintintan over 10 years ago

  • Status changed from Feedback to In Progress
  • Assignee changed from Lebohang Mofokeng to Andrei Bintintan

Thanks, I will have a look and see what I can do to improve things.

#8

Updated by Lebohang Mofokeng over 10 years ago

Hi Andrei, any feedback with progress on the above issue?

#9

Updated by Andrei Bintintan over 10 years ago

Yes, I can confirm that is a bug, but haven't got time to fix it properly.
In your case the setSplitMode will solve the problem, but I also want to fix this issue.

#10

Updated by Andrei Bintintan almost 8 years ago

  • Status changed from In Progress to Closed

Also available in: Atom PDF