how to collaps and expand multiple columns in jsp page

Hi,
My application is in Struts 1.2 and I my requirement is like as

To display the resultset from server on view i.e. jsp , I am using decorator tag in jsp.

Now after displaying the result set, I want to use collaps and expand functionality on certain columns.
I tried this in javascript and get success in collaps but expansion is not achievable.
Please refer the attached files, on html page I tried this...You may get details idea on referring it.
Can you help me in this?


Regards,
Kalpana
anm.html
vbalajittlAsked:
Who is Participating?
 
MrunalConnect With a Mentor Commented:
hi Kalpana,

Please Check this example:

http://jsfiddle.net/mgMem/80/

This will help you.
0
 
vbalajittlAuthor Commented:
Hi Team,
I tried this in simple jsp and it works as per my expectatons.
Now I am going to use this with my structs tag and will update you on this.

Thanks for help.

Regards,
Kalpana
0
 
vbalajittlAuthor Commented:
This helped me and provide me a solution on my query. Thanks.

Regards,
Kalpana
0
All Courses

From novice to tech pro — start learning today.