PDA

View Full Version : Spacing in text



Syed Huda
4 Feb 2011, 9:09 AM
I'm trying to put some spacing between text in my Grid.
The text is coming from JSON string, yes, I know this is in Japanese, but it really doesn't matter:


"data_item_name":"???? (MM/DD/YYYY)"But the spacing before the (MM/DD/YYYY) doesn't appear on the front end.

See below:
24576

Please help

wuschba
4 Feb 2011, 9:11 AM
The fields are displayed in html, and as in html, a lot of spaces are only shown as one space. Try to use  

But wouldn't it be better to work with 2 columns instead?

valititi
5 Feb 2011, 5:12 AM
use your own render function for your column. in this function you can define very specific format (with div, span, and other html / css tag options...)