jQWidgets Forums

jQuery UI Widgets Forums Grid HTML entity is not converted properly since v4.1.0

This topic contains 1 reply, has 2 voices, and was last updated by  Christopher 8 years, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • klien54
    Participant

    Hi,

    I’ve found an issue with HTML entity character in jqxGrid.
    Until v4.0.0, jqxGrid could convert HTML entity characters to the normal character on it’s cell.
    For example, if the cell data is HTML entity, ‘/’, it is converted to the normal char, ‘/’, automatically.
    However, since v4.1.0, it shows HTML entity itself instead of converting it to the normal.

    Take a look at the sample below,
    https://jsfiddle.net/klien54/23zLtm5y/

    In the sample, [First Name] and [Last Name] produce cell data as HTML entity itself. (which is weird.)
    Moreover, if you click one of them making it editable first and click other cells, we will find the previous data is changed to the normal.
    One thing more, if you add an empty row by using the button below the grid and put HTML entity on a cell, “/”, it will make it to the normal, “/” (which is fine.).

    I guess there’s something wrong in rendering a cell from v4.1.0.
    Would you check it out please?

    Thanks always in advance.

    Best Regards,
    klien54


    Christopher
    Participant

    Hi klien54,

    You are facing this problem because you are not rendering the columns proeprly. You should use “cellsrenderer” in order to render the columns the way you want to. Here is a demo:
    https://jsfiddle.net/23zLtm5y/1/

    Best Regards,
    Christopher

    jQWidgets Team
    http://www.jqwidgets.com

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.