Hi Eric !
this is my jsp code.
first include is fixed header part and
second include is rows part.
<td valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<h:form>
<td width="100%">
<[EMAIL PROTECTED] file="FixedHeader.jsp" %>
</td>
</h:form>
</tr>
<tr>
<td width="100%" bgcolor="#E7E7E7"
id="contentable">
<div class="Layer1" id="inner">
<[EMAIL PROTECTED] file="rows.jsp" %>
</div>
</td>
</tr>
</table>
</td>
Fixed header jsp page contains one t:dataTable with facets only
to display header of tables.
Rows part contains t:column without facets.
initially it looks aligned well but when we click on sortable column , all
alignments gets changed.
Pls go through it and let me know the soln.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, July 06, 2007 7:31 PM
To: 'MyFaces Discussion'
Subject: Re: problem with Fixed header in data table
Have you tried a <div/> with absolute fixed positioning?
"Arvind Pandey" <[EMAIL PROTECTED]>
07/06/2007 09:33 AM Please respond to
<[EMAIL PROTECTED]>
To "'MyFaces Discussion'" <[email protected]>,
<[EMAIL PROTECTED]>
cc
Subject problem with Fixed header in data table
Hi Eric !
Yes we can put the header in IFrame, but we have sortable
columns .
That's why we had used two t:dataTable , one containing the header and
other containing the rows.
but during sorting, alignments gets changed...
even if one field of rows contains a long data then also alignments gets
changed.
I need both the table synchronised as per the data in rows.
May be there is some other ways , pls let me know if any soln is
there.....
Meanwhile I will try to put in IFRAME and will see whether it works fine
or not.
regards...
Arvind
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, July 06, 2007 6:35 PM
To: MyFaces Discussion
Subject: Re: problem with Fixed header in data table
Put the header in an IFRAME.
"Arvind Pandey" <[EMAIL PROTECTED]>
07/06/2007 09:01 AM
Please respond to
"MyFaces Discussion" <[email protected]>
To "'MyFaces Discussion'" <[email protected]>
cc
Subject problem with Fixed header in data table
Hi all !
I have a data table with large number of rows. Hence we have
provide scroll bar to the table.
But the problem is when I move the scroll down the heare of the table goes
up.
I need to keep the header fixed and let the rows move up and down with the
help of scroll bar.
Any idea....?
regards....
Arvind Pandey
Disclaimer: The information contained in this e-mail and attachments if
any are privileged and confidential and are intended for the individual(s)
or entity(ies) named in this e-mail. If the reader or recipient is not the
intended recipient, or employee or agent responsible for delivering to the
intended recipient, you are hereby notified that dissemination, distribution
or copying of this communication or attachments thereof is strictly
prohibited. IF YOU RECEIVE this communication in error, please immediately
notify the sender and return the original message.
_________________________
CONFIDENTIALITY NOTICE
The information contained in this e-mail message is intended only for the
exclusive use of the individual or entity named above and may contain
information that is privileged, confidential or exempt from disclosure under
applicable law. If the reader of this message is not the intended recipient,
or the employee or agent responsible for delivery of the message to the
intended recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited. If you
have received this communication in error, please notify the sender
immediately by e-mail and delete the material from any computer. Thank you.
Disclaimer: The information contained in this e-mail and attachments if
any are privileged and confidential and are intended for the individual(s)
or entity(ies) named in this e-mail. If the reader or recipient is not the
intended recipient, or employee or agent responsible for delivering to the
intended recipient, you are hereby notified that dissemination, distribution
or copying of this communication or attachments thereof is strictly
prohibited. IF YOU RECEIVE this communication in error, please immediately
notify the sender and return the original message.
_________________________
CONFIDENTIALITY NOTICE
The information contained in this e-mail message is intended only for the
exclusive use of the individual or entity named above and may contain
information that is privileged, confidential or exempt from disclosure under
applicable law. If the reader of this message is not the intended recipient,
or the employee or agent responsible for delivery of the message to the
intended recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited. If you
have received this communication in error, please notify the sender
immediately by e-mail and delete the material from any computer. Thank you.
Disclaimer: The information contained in this e-mail and attachments if any are
privileged and confidential and are intended for the individual(s) or
entity(ies) named in this e-mail. If the reader or recipient is not the
intended recipient, or employee or agent responsible for delivering to the
intended recipient, you are hereby notified that dissemination, distribution or
copying of this communication or attachments thereof is strictly prohibited. IF
YOU RECEIVE this communication in error, please immediately notify the sender
and return the original message.