-
1. Re: Not able to align rows properly when using <rich:scrollableDataTable>
ilya_shaikovsky Apr 8, 2010 7:43 AM (in response to madhugang)Not able to align rows properly
and
rows are properly aligned
please clarify more some screenshots maybe?
-
2. Re: Not able to align rows properly when using <rich:scrollableDataTable>
madhugang Apr 8, 2010 10:02 AM (in response to ilya_shaikovsky)Right now I cannot send screen shots because my server is down....
But i can give you brief clarification hopefully.
In my case, I am using <rich:scrollableDataTable> and in my table there is one scenario where , i should freeze first two columns and there is another scenario where, i should freeze only first column. If i do any of this richfaces control treats first two columns as one table and the rest of the columns as another table and so rows are not getting aligned properly...
But, when i dont freeze either of the columns then richfaces treats as a single table and rows are getting aligned properly....
But my requirement is to use column freezing and then row alignment should as well work good...
Hope its clear...
Any help would be great...
-
3. Re: Not able to align rows properly when using <rich:scrollableDataTable>
ilya_shaikovsky Apr 9, 2010 3:34 AM (in response to madhugang)sorry.. but still want to see some illustration of what is misaligned.
http://livedemo.exadel.com/richfaces-demo/richfaces/scrollableDataTable.jsf - uses 1 frozen column. And I can't see any misalignment there. Also there are samples in our internal tests.
B.t.w. could be some css problem which you could easilly check with fireBug.
-
4. Re: Not able to align rows properly when using <rich:scrollableDataTable>
madhugang Apr 9, 2010 9:56 AM (in response to ilya_shaikovsky)I attached two files.
One is proper row alignment in which frozenColCount is not used.
Other is not proper row alignment in which frozenColCount is used.
In the third column to loop all those values and to place them in proper order i am using <table> <tr> <td>.
Here is my style...
<style type="text/css">
.rich-sdt-row {
font-weight: normal;
height: auto;
}.rich-sdt-column-cell-body{
-moz-box-sizing: border-box;
white-space:nowrap;
height:auto;
overflow: hidden;
font-family: Arial;
font-size: 10pt;
}table tr td {
font-size: 10pt;}
</style>
Any help would be great
-
Not proper rows.bmp 3.8 MB
-
proper rows aligned.bmp 3.8 MB
-
-
5. Re: Not able to align rows properly when using <rich:scrollableDataTable>
ilya_shaikovsky Apr 9, 2010 10:10 AM (in response to madhugang)this definitelly caused by some custom stlyes defined in your application css or at page. classes which you listed not caused this behavior for me. So check please with FireBug which ones could influence also.