Defect #586
Empty table row
0%
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
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?
Updated by Lebohang Mofokeng over 10 years ago
Disabling split mode did the trick, the issue is now resolved. thanx!
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.
Updated by Lebohang Mofokeng over 10 years ago
- File schedule.php schedule.php added
I have attached a PHP file that reproduces the issue
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.
Updated by Lebohang Mofokeng over 10 years ago
Hi Andrei, any feedback with progress on the above issue?
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.