Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


how to collaps and expand multiple columns in jsp page

Posted on 2013-01-30
Medium Priority
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 1500 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
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…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

670 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