Uploaded image for project: 'Click'
  1. Click
  2. CLK-669

New Column property escapeHeaderHtml for better table header formatting

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.2.0, 2.1.0
    • 3.0.0
    • core
    • None

    Description

      org.apache.click.control.Column class contains escapeHtml property, that applies to both: header cell content and data cell content.

      So It is hard to make rich table header with images, span, etc:
      If data cell's content should be escaped, then header cell's content will be escaped too.

      I propose new property
      Boolean escapeHeaderHtml = null by default.

      If escapeHeaderHtml == null then escapeHtml should be used for header cells.
      If escapeHeaderHtml is true or false - this value should be used for header cells.

      Attachments

        Activity

          People

            Unassigned Unassigned
            andreyrybin Andrew Fink
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: