List Separators: Carriage return

36 views
Skip to first unread message

Brice Sommacal

unread,
Apr 13, 2012, 10:09:33 AM4/13/12
to simile-...@googlegroups.com
Hello, 

I would like to implement a carriage return in a tabular view.

My exhibit code is below, but the result is not as the one I expect:

Code:
ex:columnFormats="list, list,list{separator:'<br/>'},list"

Result:
[# Origine - - {}]<br/> [# Activité de site - - {}]<br/> [ - - {}]<br/> [Analyse de risques produit R2 - - {spécifié}]<br/> [# Matériau industrialisé - - {}], et [Certificat d'homologation - - {}]

I have already read some similar issues on this mailing list, but no answer have been found...

> Does someone find a solution?

Regards, 


Brice

Brice Sommacal

unread,
May 30, 2012, 5:05:29 AM5/30/12
to simile-...@googlegroups.com
Hello to all, 

I have finally found a workaround using CSS and ex:formats on the tabular view.

CSS:
   <style type="text/css"> table.exhibit-tabularView-body td span{ display: block; } </style>

Format:
ex:formats="list{separator : '';last-separator : '';pair-separator : ''}"

Hope it may help other people, 

Regards, 


Brice

2012/4/13 Brice Sommacal <brice.s...@gmail.com>
Reply all
Reply to author
Forward
0 new messages