Support Article

List view with RichTextDisplay column is displayed distorted

SA-31324

Summary



User has a list view. One of its column is displayed using RichTextDisplay (RTD) control. However the display is distorted in certain cases when any of RTD cell has an incomplete value.

Distorted in the sense some of the rows are not displayed, some of the columns are arranged improperly.

By incomplete value, it means that the Html markup is not completely formed and complete, the tags are not properly closed.


Error Messages



Not applicable


Steps to Reproduce



Include one of the RTD cell with incomplete value (Html markup), This can happen when user has a size limit on property's column in DB.


Root Cause



So long user has incomplete or inappropriate values our Listview  with columns using the RichTextDisplay format may be displayed distorted.

In the particular case the values were incomplete because they were stored in an exposed column in database.

​And the exposed database column had a size limit. So whenever the values extended this size limit, the value was being truncated and stored, thereby storing incomplete values. And when such incomplete value is rendered via RTD display is distorted.

Resolution

Extend the size limit on exposed database column to accommodate big HTML markup values to avoid truncation.

Published December 12, 2016 - Updated January 11, 2017

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.