jQWidgets Forums

jQuery UI Widgets Forums Grid Possible bug with special chars redering in a grid.

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 11 years, 11 months ago.

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

  • DaveB
    Participant

    I found this by accident today when I loaded some data with the text “<default>”, when you are in a grid, the field will appear blank, however, if you go into edit mode on the field it will display correctly.  To reproduce this bug, modify the generatedata.js javascript file and change one of the data values, for example change “Peppermint Mocha Twist” to “<Peppermint Mocha Twist>”.  Then run the celleditmodes.htm file and the Peppermint Mocha Fields will appear blank until you enter edit mode.

    Been very happy overall with this framework, keep up the great work!


    Peter Stoev
    Keymaster

    Hi,

    According to us that is a feature and not a bug. jqxGrid is built from HTML Elements and renders HTML Elements. A cell value equal to – “” is a HTML tag and that is the reason it will be displayed as blank text. That feature enables you to render HTML within the Grid cells. In edit mode, a TextBox will be displayed with text set to “<default" and it will display it so you can actually use the TextBox as text or html editor.

    Best Regards,
    Peter Stoev

    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.