Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-2864

Add JS method to BFormatter to align table columns

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 12.0
    • Component/s: Framework
    • Labels:
      None

      Description

      In some cases we have multiple tables of the same type, meaning they have all the same columns (same headers, same count, same data type per column). Since the auto-formatting of tables in browsers works like magic, there is no way to really align the table columns using pure CSS.

      This issue is about implementing a JavaScript solution that optimizes multiple tables to use the same width for each column.

      Note: this can not be done perfect. In some cases it might not work due to not conflicting content length in tables.

        Attachments

          Activity

            People

            Assignee:
            gnaegi Florian Gnägi
            Reporter:
            gnaegi Florian Gnägi
            Tester:
            Stéphane Rossé
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h