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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Learn the basics of inputting and editing your text components in Prezi. We will cover how to set styles, position, and group your text components. In your Prezi editor, click anywhere on the canvas to add text: A flashing cursor informs you that yo…
Not only does Prezi allow you to create non-linear presentations, it also makes it easy to apply transition animations between your frames. Learn how to apply a fade-in transition to select items and entire frames in this tutorial Select "Edit Path"…

932 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now