You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "brahmanand vyas (Commented) (JIRA)" <de...@myfaces.apache.org> on 2011/09/29 08:50:45 UTC

[jira] [Commented] (TRINIDAD-824) TreeTable node column scrolling in IE

    [ https://issues.apache.org/jira/browse/TRINIDAD-824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13117055#comment-13117055 ] 

brahmanand vyas commented on TRINIDAD-824:
------------------------------------------

we can overide a css class .x6k to override position property .x6k{ position:relative;}  and use the same css attribute in container element in which tree table is included to overrule css clash.
                
> TreeTable node column scrolling in IE
> -------------------------------------
>
>                 Key: TRINIDAD-824
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-824
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions:  1.2.3-plugins
>         Environment: WinXP, Tomcat 5.5, Tomcat 6.0, Servlet2.4
>            Reporter: Ray Clough
>
> If there is a scroll bar surrounding the TreeTable, the 'TreeColumn' does not scroll, even though the rest of the component does.  Works properly in Firefox, but not in IE7 or IE6 (note that IE = "Its Evil").  The following source code is taken from the demo "treeTable.jspx", augmented with an "overflow:auto" style on a surrounding tag:
> <tr:panelBorderLayout inlineStyle="height:500px; overflow:auto;" >
> 		<tr:treeTable var="foo" value="#{largeTree.model}" 
>                summary="Giant treeTable"
>               rendered='true'>
>               <f:facet name="nodeStamp">
>                 <tr:column>
>                   <f:facet name="header">
>                     <tr:outputText value="Label"/>
>                   </f:facet>
>                 <tr:outputFormatted value="&lt;b>#{foo.label}&lt;/b>"/>
>                 </tr:column>
>               </f:facet>
>               <f:facet name="pathStamp">
>                 <tr:outputFormatted value="&lt;b>#{foo.label}&lt;/b>"/>
>               </f:facet>
>               <tr:column>
>                 <f:facet name="header">
>                   <tr:outputText value="Parent"/>
>                 </f:facet>
>                 <tr:outputText value="#{foo.parentLabel}"/>
>               </tr:column>
>               <tr:column>
>                 <f:facet name="header">
>                   <h:outputText value="Index"/>
>                 </f:facet>
>                 <h:outputText value="#{foo.index}"/>
>               </tr:column>
>               <tr:column>
>                 <f:facet name="header">
>                   <h:outputText value="Depth"/>
>                 </f:facet>
>                 <h:outputText value="#{foo.depth}"/>
>               </tr:column>
>             </tr:treeTable>
> </tr:panelBorderLayout >
> When the tree is expanded beyond its 'height', the auto scroll bar appears, but the node column does not scroll with the rest of the component.  We have tried a number of workarounds, none of which have worked.  Using a container other than the tr:panelBorderLayout does not make a difference.  The TreeTable node column simply won't scroll in IE.
> -Ray Clough
> ray@allthisisthat.com

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira