Edit this page

columns.encoded Boolean (default: true)

If set to true the column value will be HTML-encoded before it is displayed. If set to false the column value will be displayed as is. By default the column value is HTML-encoded.

Example - prevent HTML encoding

<div id="treelist"></div>
    columns: [
      { field: "lastName"},
      { field: "position", encoded: false},
      { command: [ "edit" ] }
    editable: "popup",
    dataSource: [
      { id: 1, parentId: null, lastName: "Jackson", position: "<strong>CEO</strong>" },
      { id: 2, parentId: 1, lastName: "Weber", position: "VP, Engineering" }
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article