Results 1 to 3 of 3

Thread: Checkbox selection html encoded

    Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha Premium Member
    Join Date
    Jan 2015
    Posts
    22

    Exclamation Checkbox selection html encoded

    Ext version tested:
    • Ext 5.1.0.107

    Description: I would like to html encode all columns, therefore I use the default columns config,
    but the checkbox column is not visible, because it is also encoded!

    Test case
    https://fiddle.sencha.com/#fiddle/kb6

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

  3. #3
    Sencha Premium User
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,258

    Default

    This isn't a bug. The check column renderer also allows itself to be overridden, sometimes users want to modify it as well. In this case you're overriding the default and causing the issue.

    Instead, you may want to:

    Code:
    Ext.define('HtmlColumn', {
        extend: 'Ext.grid.column.Column,
        alias: 'widget.htmlcolumn',
        renderer: Ext.util.Format.htmlEncode
    });

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •