4 Replies Latest reply on Aug 24, 2010 4:18 AM by Ilya Shaikovsky

    rich:scrollabledatatable header columns not aligned to the rows !!?

    Saroj Padhy Novice

      Hi All,


      In rich:scrollabledatatable, table header columns are not aligned to the rows in the table.

      There is an extra column (frozen column) on the left side which is occupying 2px of the header, because of which the header columns shifted to the right side to 2px .


      Here is a screenshot:


      Here is html code for the above extra column:

      <span id="xyzform:xyzdatatable:header:FrozenBox" style="overflow: hidden; white-space: nowrap; height: 22px; left: 0px; top: 0px;"><table cellspacing="0" cellpadding="0" style="border-collapse: collapse; height: 22px;" id="ClientUI_Box1"><thead><tr><td></td></tr></thead></table></span>


      This is happening when we don't mention frozenColCount attribute in rich:scrollabledatatable. By default frozenColCount value is zero. If we mention frozenColCount="1" or more than one, this alignment problem is not coming. In livedemo.exadel.com example also I see the attribute is being used.


      So is there any way of solving this issue, I don't want frozen columns in my datatable.


      Thanks in advance!