Tapestry
  1. Tapestry
  2. TAPESTRY-2021

It should be possible to turn off the generation of CSS classes for table headers and table cells inside a Grid

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.7
    • Fix Version/s: 5.0.8
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      The Grid component places a CSS class attribute on each TH (in the header row, used to show a title and control sorting) and in each TD below (the data cells). The attribute name is derived from the property name with a suffix ("-header", "-cell"). This is very useful when trying to customize L&F using CSS, but is wasted characters, a lot of them, when not using such a feature. It would be nice if this could be controlled more succinctly ... either turned off, or limited to certain columns.

        Activity

        Hide
        Howard M. Lewis Ship added a comment -

        The new lean parameter on Grid (and GridColumns and GridRows) controls this. lean as in "lean and mean". It defaults to false, which is the old behavior.

        Show
        Howard M. Lewis Ship added a comment - The new lean parameter on Grid (and GridColumns and GridRows) controls this. lean as in "lean and mean". It defaults to false, which is the old behavior.

          People

          • Assignee:
            Howard M. Lewis Ship
            Reporter:
            Howard M. Lewis Ship
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development