Connecting Tech Pros Worldwide Forums | Help | Site Map

display table

letmeknow's Avatar
Newbie
 
Join Date: Sep 2007
Posts: 6
#1: Oct 1 '07
can we use hidden fields in display table

hsn's Avatar
hsn hsn is offline
Familiar Sight
 
Join Date: Sep 2007
Location: Dubai-UAE
Posts: 237
#2: Oct 1 '07

re: display table


explain your question
please
letmeknow's Avatar
Newbie
 
Join Date: Sep 2007
Posts: 6
#3: Oct 1 '07

re: display table


i am getting certain values from DataBase and displaying it in dispaly table .i hava a button for each row and on click it gives the corresponding first colum value of the row in script.i also want another value which is not displayed in the table ,which i would like to put as hidden field on click of the button


how?
hoping an answer.
dmjpro's Avatar
Lives Here
 
Join Date: Jan 2007
Location: India (West-Bengal)
Posts: 2,451
#4: Oct 1 '07

re: display table


Quote:

Originally Posted by letmeknow

i am getting certain values from DataBase and displaying it in dispaly table .i hava a button for each row and on click it gives the corresponding first colum value of the row in script.i also want another value which is not displayed in the table ,which i would like to put as hidden field on click of the button


how hoping an answer.

Expand|Select|Wrap|Line Numbers
  1. <input type="hidden" name = "some_name" value = "some_value">
  2.  
Kind regards,
Dmjpro.
letmeknow's Avatar
Newbie
 
Join Date: Sep 2007
Posts: 6
#5: Oct 1 '07

re: display table


hi DMJPRO

i am working in struts and using the disaply table its format is like this

<display:table name="ReviewVoucher" id="reviewId" length="100">
<display:column property="seqno" title="Reference"/>
<display:column property="Date" title="Transaction Date"/>

we have to only get a list with same proprty listed above and iterate and the values will automatically get populated inthe list.

my question is how to alter the display table and place hidden fields

please check more about display table in http://displaytag.sourceforge.net/10...laytag-12.html
Reply