[ 
https://issues.jboss.org/browse/RF-12193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12768324#comment-12768324
 ] 

Brian Leathem commented on RF-12193:
------------------------------------

The cause of this issue is in this section of the initialize code:

{code}
this.rowHeight = this.dataTableElement.offsetHeight / this.rows;
if (this.rowCount != this.rows) {
    this.contentElement.style.height = (this.rowCount * this.rowHeight) + "px";
}
{code}

when the EDT is not displayed, the _offsetHeight_ is 0, so the calculated 
height of the EDT is 0.

A possible fix would be to:
# absolutely position the EDT off the page, 
# display it, 
# calculate the offsetHeight, 
# un-display it, 
# re-position it.

However it is not clear how well this would work when the EDT's display is 
controlled by the display property of a parent element.
                
> rich:extendedDataTable is blank on show
> ---------------------------------------
>
>                 Key: RF-12193
>                 URL: https://issues.jboss.org/browse/RF-12193
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-tables
>    Affects Versions: 4.2.1.Final
>         Environment: Firefox 11, Internet Explorer 8
>            Reporter: Nick Dev
>            Assignee: Brian Leathem
>             Fix For: 4.3.2, 5-Tracking
>
>   Original Estimate: 1 hour
>  Remaining Estimate: 1 hour
>
> rich:extendedDataTable is blank when shown after it was hidden.
> Firefox: complete table is blank.
> IE: table header is not displayed.
> Table is shown after resizing the window.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to