Needs work
Project:
TableField
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
6 Feb 2017 at 08:34 UTC
Updated:
4 Mar 2020 at 22:48 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
saranya ashokkumar commentedComment #3
lolandese commentedThanks Saranya,
If you don't mind I add the link to your blog post that showcases this functionality:
http://www.unimitysolutions.com/blog/working-experience-table-field-cont...
Comment #4
fls-pcate commentedThe patch isn't applying for me on latest dev. Might need a re-roll?
Comment #5
fls-pcate commentedComment #6
pcate commentedPatch re-roll.
Comment #7
pcate commentedComment #9
lolandese commentedA cell that contains a value "0" is considered empty. In "real life" it is perfectly possible a cell contains the value zero and should be rendered.
See below images of a table that contains zero in a cell, before and after the patch.
BEFORE patching:

AFTER patching:

Furthermore,
Comment #10
marcus_w commentedPatch re-roll.
Comment #11
swirtThis one is a bit of scary treatment of empty cells. There are legitimate cases where an empty cell is the desired output.
This would be an anti-pattern to tables in spreadsheets and word processors. In spreadsheets and word processors if you remove the value from a cell, it keeps the position of the empty cell. It does not restructure the row or column. This could have unexpected and disastrous results to the content.