Jan 28, 2009, 11:37 AM
Grid view columns frozen whe scrolling horizontally
<p class="MsoNormal"></p><p class="MsoNormal">THE SCENARIO:</p>
</p><p class="MsoNormal">I have BorderLayout with two panels in the Center section.*</p>
<p class="MsoNormal">One of the panels contains a DataView with a "thumbnail
view" showing images of the corresponding records*</p>
<p class="MsoNormal">I the other panel I have a GridPanel that shows the same
records (both the DataView and the GridPanel are </p>
<p class="MsoNormal">associated to the same data store).*</p>
<p class="MsoNormal">Initially, the DataView panel is visible, and the GridPanel panel
has it's hidden property set to true.*</p>
<p class="MsoNormal">I also have some two toggle buttons that show or hide the
DataView panel or the GridPanel panel alternatively </p>
<p class="MsoNormal">(like when choosing different views of the right panel in
the Windows Explorer)</p>
<p class="MsoNormal">*</p>
<p class="MsoNormal">THE PROBLEM:</p>
<p class="MsoNormal">When I click the button that shows the GridPanel panel and
hides the DataView panel (calling Show() and </p>
<p class="MsoNormal">Hide() methods, either from javascript via listeners, or
from ajaxevents), the panels are hidden and</p>
<p class="MsoNormal">shown correctly, with all the data store recods loaded (ok
so far). The problem is that if I scroll</p>
<p class="MsoNormal">the grid horizontally, the rows with the data actually move
to the right or left (ok), but the </p>
<p class="MsoNormal">column titles remain frozen (don't scroll).*</p>
<p class="MsoNormal">If the paging controls or refresh button of the
PagingToolBar are used, the grid showa the next page, and the</p>
<p class="MsoNormal">"frozen title columns" issue disappears for good</p>
<p class="MsoNormal">*</p>
<p class="MsoNormal">INTERESTING</p>
<p class="MsoNormal">This problem does not happen in IE, but does in Firefox,
Opera and Safari.*</p>
<p class="MsoNormal">What can I do to fix this?*</p>
<p class="MsoNormal">I'm desperate and can take a "dirty workaround" too
:-)** (like do something to "mimic" the paging</p>
<p class="MsoNormal">behavior, or refreshing the data)</p><p class="MsoNormal">*</p>
<p class="MsoNormal">Thanks in advance!!!</p>
</p><p class="MsoNormal">I have BorderLayout with two panels in the Center section.*</p>
<p class="MsoNormal">One of the panels contains a DataView with a "thumbnail
view" showing images of the corresponding records*</p>
<p class="MsoNormal">I the other panel I have a GridPanel that shows the same
records (both the DataView and the GridPanel are </p>
<p class="MsoNormal">associated to the same data store).*</p>
<p class="MsoNormal">Initially, the DataView panel is visible, and the GridPanel panel
has it's hidden property set to true.*</p>
<p class="MsoNormal">I also have some two toggle buttons that show or hide the
DataView panel or the GridPanel panel alternatively </p>
<p class="MsoNormal">(like when choosing different views of the right panel in
the Windows Explorer)</p>
<p class="MsoNormal">*</p>
<p class="MsoNormal">THE PROBLEM:</p>
<p class="MsoNormal">When I click the button that shows the GridPanel panel and
hides the DataView panel (calling Show() and </p>
<p class="MsoNormal">Hide() methods, either from javascript via listeners, or
from ajaxevents), the panels are hidden and</p>
<p class="MsoNormal">shown correctly, with all the data store recods loaded (ok
so far). The problem is that if I scroll</p>
<p class="MsoNormal">the grid horizontally, the rows with the data actually move
to the right or left (ok), but the </p>
<p class="MsoNormal">column titles remain frozen (don't scroll).*</p>
<p class="MsoNormal">If the paging controls or refresh button of the
PagingToolBar are used, the grid showa the next page, and the</p>
<p class="MsoNormal">"frozen title columns" issue disappears for good</p>
<p class="MsoNormal">*</p>
<p class="MsoNormal">INTERESTING</p>
<p class="MsoNormal">This problem does not happen in IE, but does in Firefox,
Opera and Safari.*</p>
<p class="MsoNormal">What can I do to fix this?*</p>
<p class="MsoNormal">I'm desperate and can take a "dirty workaround" too
:-)** (like do something to "mimic" the paging</p>
<p class="MsoNormal">behavior, or refreshing the data)</p><p class="MsoNormal">*</p>
<p class="MsoNormal">Thanks in advance!!!</p>