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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
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)
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

735 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