ICEfaces
  1. ICEfaces
  2. ICE-1587

scrollable dataTable only renders well in component-showcase demo

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6DR#4
    • Fix Version/s: 1.6DR#5, 1.6
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      scrollable dataTable without any container component.

      Description

      Judy tried to use scrollable table under seam application, and she found that columns are not aligned properly.

      It came across that component-showcase have application specific styles for scrollable dataTable, in addition to that if you put scrollable dataTable outside the panelTabSet it grows to 100% to the client view area.

        Activity

        Adnan Durrani created issue -
        Adnan Durrani made changes -
        Field Original Value New Value
        Assignee Adnan Durrani [ adnan.durrani ]
        Ken Fyten made changes -
        Assignee Priority P2
        Adnan Durrani made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        Adnan Durrani added a comment -

        Now the dataTable+scrollable don't need any extra style class or container component to render well. The only required thing is the proper column width. revision 13963

        I also enhanced the generation mechanism of columnClass attribute and update the meta data as well. Earlier if columnClasses attribute never being set, we used to render the default classed with the sequential index (e.g.):
        <td class="column1">
        <td class="column2">
        <td class="column3">

        The drawback of the above mechanism is that if table contains 10 columns, then developer must need to create 7 more classes in the .css file. So I replaced it with the following pattern:
        <td class="column column1">
        <td class="column column2">
        <td class="column column3">

        The above class pattern would allow you to define the base style in the "column" class and if you want to customize any of the specific column then you can override the column+index class.

        Show
        Adnan Durrani added a comment - Now the dataTable+scrollable don't need any extra style class or container component to render well. The only required thing is the proper column width. revision 13963 I also enhanced the generation mechanism of columnClass attribute and update the meta data as well. Earlier if columnClasses attribute never being set, we used to render the default classed with the sequential index (e.g.): <td class="column1"> <td class="column2"> <td class="column3"> The drawback of the above mechanism is that if table contains 10 columns, then developer must need to create 7 more classes in the .css file. So I replaced it with the following pattern: <td class="column column1"> <td class="column column2"> <td class="column column3"> The above class pattern would allow you to define the base style in the "column" class and if you want to customize any of the specific column then you can override the column+index class.
        Adnan Durrani made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Fix Version/s 1.6DR#5 [ 10071 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Issue Type Bug [ 1 ] Improvement [ 4 ]
        Ken Fyten made changes -
        Fix Version/s 1.6 [ 10031 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P2
        Assignee Adnan Durrani [ adnan.durrani ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Adnan Durrani
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: