how to collaps and expand multiple columns in jsp page

Posted on 2013-01-30
Last Modified: 2013-11-12
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?

Question by:vbalajittl
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 22

Accepted Solution

Mrunal earned 500 total points
ID: 38838967
hi Kalpana,

Please Check this example:

This will help you.

Author Comment

ID: 38851039
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.


Author Closing Comment

ID: 39643714
This helped me and provide me a solution on my query. Thanks.


Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
Many programs have tried to outwit PowerPoint in terms of technology and skill. These programs, however, still lack several characteristics that PowerPoint has possessed from the start. Here's why PowerPoint replacements won't entirely work for desi…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

628 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question