Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.6DR#4
-
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.
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
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
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.