| Author |
problem with display table pagination and sorting
|
Rajesh murthy
Greenhorn
Joined: Sep 30, 2008
Posts: 9
|
|
Hi All I am facing some issues while implementing display table pagination and sorting.I have aroung 7 columns in display table out of which 2 columns are editable(User can enter through text box).Display table page size is 5.The problem here is, after enetering some values in text box and clicking next ,it will display next 5 records.While I am clicking previous, the values which I have entered for the first 5 records doesn't exist(means blank text box).Any help is appreciated.
|
 |
rahulJ james
Ranch Hand
Joined: Oct 03, 2008
Posts: 123
|
|
Can you post the code of how you made the textbox editable with the dynamic values sitting on the textbox.. Let me also how do we need to get the modified value in the action side..
|
 |
Rajesh murthy
Greenhorn
Joined: Sep 30, 2008
Posts: 9
|
|
Please check the below code <display:table name="${detailsForm.unConfAcctList}" cellspacing="1" class="displaytag" pagesize="5" sort="list" requestURI="/fwdSpinoff.do" defaultorder="descending" id="unConfAcct" excludedParams="*"> <display:setProperty name="css.tr.even" value="TDBGlightgray" /> <display:setProperty name="css.tr.odd" value="TDBGgray" /> <td width="3%"><display:column title="Select" class="TxtVer10black" headerClass="TH.width40"> <html:multibox title="Select safekeeping account" property="unconfCheckBox" styleId="chkBox"> <bean:write name="unConfAcct_rowNum" /> </html:multibox> </display:column></td> <td width="3%"><display:column property="acctNum" title="Safekeeping A/C" sortable="true" sortName="safekeepingAcctNum" class="TxtVer10black" headerClass="TH.width40" /></td> <td width="3%"><display:column property="availableShareBal" title="Available Balance" sortable="true" sortName="availableShareBal" class="TxtVer10black" headerClass="TH.width40" /></td> <td width="3%"><display:column title="New Asset Shares" scope="session" sortable="true" sortName="newShareQuantity" class="TxtVer10black" headerClass="TH.width40"> <ca:text property="newShareQuantity" value="" styleId="${unConfAcct_rowNum}" size="40" onchange="javascript:getValue(${unConfAcct_rowNum},'unconfCheckBox')"/> </display:column></td> <td width="3%"><display:column title="Cash" scope="session" sortable="true" sortName="cash" class="TxtVer10black" headerClass="TH.width40"> <ca:text property="cash" value="${unConfAcct.drCr}" styleId="cashvalue${unConfAcct_rowNum}" size="40" onchange="javascript:getCash(${unConfAcct_rowNum},'unconfCheckBox')" /> </display:column></td> <td width="3%"><display:column property="reconcileStatus" title="Reconciliation Status" sortable="true" sortName="reconcileStatus" class="TxtVer10black" headerClass="TH.width40" /></td> <td width="3%"><display:column property="status" title="Status" sortable="true" sortName="caStatus" class="TxtVer10black" headerClass="TH.width40" /></td> </display:table>
|
 |
Rajesh murthy
Greenhorn
Joined: Sep 30, 2008
Posts: 9
|
|
|
does any body help
|
 |
 |
|
|
subject: problem with display table pagination and sorting
|
|
|