Data Browser - Viewing Site  Sector 23 Code Bank Logged in as:  Guest  


Line Breaks in data-bind text element
How to include a line break in Knockout JS/Kendo UI data-bind text element:

Include the following style property:
white-space: pre-wrap

Such as:

<span style="white-space:pre-wrap" data-bind="text: myData"></span>

And make sure your property has text with \n line breaks in it.

Created By: amos 1/12/2016 1:18:37 PM
Updated: 1/12/2016 1:19:05 PM