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

New Column property escapeHeaderHtml for better table header formatting

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.2.0, 2.1.0
    • Fix Version/s: 3.0.0
    • Component/s: core
    • Labels:
      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

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

              Dates

              • Created:
                Updated: