However default is set to five rows, so when the node is published I get five empty rows in the html. I could just delete the rows or set default rows just to one.. but is there a way I easily can check if the cells in a row have values (cell not is empty or only contains blank spaces) before I build the html tablerow?
Only create rows which have values
Hi...
I have looked at the razor example from here to use Tabular Data: http://snipt.org/ujijc1
I have ended up with this code:
However default is set to five rows, so when the node is published I get five empty rows in the html.
I could just delete the rows or set default rows just to one.. but is there a way I easily can check if the cells in a row have values (cell not is empty or only contains blank spaces) before I build the html tablerow?
/Bjarne
is working on a reply...