I am working in Jsf with Richfaces. I custom the rich:extendedDataTable by adding a javascript file to allow resize the column's width. So i have a rich:extendedDataTable as a head Table, I do this steps :
- The table contains many lines of data.
- I do a double-click on a row i get another table (rich:extendedDataTable also) of details of this row
- I choose a row in table of details and i clique in botton (type "h:commandButton") to export its informations in pdf file
- I return to head table
So i lose the behavor of resize for the columns, This is my probleme i do the debuging with google chrome before and after having the problem, this is result of important difrences:
before:
<colgroup id="id_form_reg:EnteteRegGlo:colgroup:header">
<col width="51.35">
<col width="102.7">
<span id="id_form_reg:EnteteRegGlo_hdrop_j_id2318right" class="extdt-hdrop" style="visibility: hidden; top: 0px; left: 0px; height: 0px; width: 0px;">
<div id="id_form_reg:EnteteRegGlo:j_id2318header:menuDiv" class="extdt-menu-div-out" style="top: 0px; left: -1px;">
<colgroup id="id_form_reg:EnteteRegGlo:colgroup:body">
<col width="51.35">
<col width="102.7">
after:
<colgroup id="id_form_reg:EnteteRegGlo:colgroup:header">
<col width="null">
<col width="null">
<span id="id_form_reg:EnteteRegGlo_hdrop_j_id2318right" class="extdt-hdrop" style="visibility: hidden; top: 0px; left: 25px; height: 24px; width: 25px;">
<div id="id_form_reg:EnteteRegGlo:j_id2318header:menuDiv" class="extdt-menu-div-out" style="top: 0px; left: 30px;">
<colgroup id="id_form_reg:EnteteRegGlo:colgroup:body">
<col width="NaN">
<col width="NaN">
Ah , this is, the code: