0

The below json aligns the column contents towards left.How to align the header "Name" in left.

Header Json:

"columns": [ { "title": "Name", "align": "Left", "width": "25%" }, { "title": "Address", "align": "Center", "width": "20%" } ]} 

Json data for columns:

"studentList": [ { "name": "Paulo", "address":"US" }, { "name": "Andrew", "address":"UK" }, ], 
4
  • What are you talking about? Do you need to display the json content in a HTML page? Commented Jul 28, 2015 at 6:48
  • I get the json contents in html.I need the header "Name" to be aligned towards left. Commented Jul 28, 2015 at 6:54
  • Still unclear what you are trying to do, but you probably could use <pre> tag Commented Jul 28, 2015 at 6:59
  • Possible duplicate of JSON pretty print with highlighting Commented Jul 11, 2017 at 1:53

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.