Display rich text generated using CKEditor in DataTables

Display rich text generated using CKEditor in DataTables

abzkrishabzkrish Posts: 1Questions: 1Answers: 0

I am using jQuery to render DataTables:
$("#" + containerID + "_table").DataTable(this.properties);. I wish to display rich text generated using https://ckeditor.com/ in my DataTable. Following up on the answer in [https://datatables.net/forums/discussion/38221/editor-display-rich-text-in-datatable], I want to ask what property should I set or unset to display rich text? Can I have the exact code which I should pass to the properties parameter while rendering the parameter?
(https://datatables.net/forums/discussion/38221/editor-display-rich-text-in-datatable "https://datatables.net/forums/discussion/38221/editor-display-rich-text-in-datatable")

Answers

  • allanallan Posts: 63,468Questions: 1Answers: 10,466 Site admin

    The fact that the rich text was generated by CKEditor shouldn't make any difference. It could come from any data source - as long as you have it in the data.

    So the question becomes: are you Ajax loading the data with JSON, or is it a DOM HTML table that you are enhancing with DataTables?

    If you link to a test case showing the issue I will be able to help better.

    Thanks,
    Allan

This discussion has been closed.