Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 351321
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T11:37:58+00:00 2026-05-12T11:37:58+00:00

I want to fold a table so that some rows are hidden. I want

  • 0

I want to fold a table so that some rows are hidden.

I want to maintain the size of columns, so that they don’t leap around when you hide rows (this happens if you use display: none; indeed, the table width can also change).

I also want the table to reflow when the window size is changed, so that a table full of data uses as much space as the user is willing to give it.

visibility: collapse; 

does all of this for me, but that doesn’t work in IE (not even IE8; 100% compliant, are we, Microsoft?).

Hiding table rows without resizing overall width does work in IE, but fixes the table size, so that it will no longer reflow.

Are there any better solutions out there, or should I just give up on this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T11:37:59+00:00Added an answer on May 12, 2026 at 11:37 am

    Take the example code that works in IE and add some code to detect onresize.

    You can either do the calculations based on the original table size, or you can remove the restrictions, do a quick unhide and than reply the hiding code.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I found in MSDN's Linq samples a neat method called Fold() that I want
In my treeview, after adding a fold, I want that row to be highlghted
I want to run n fold cross validation on some classifiers I am using.
I want to use some function such as zip , fold and map in
I want to use the out-of-fold predictions from a caret model to train a
I usually edit RUBY files in VIM. I want the methods(def...end) to fold. Could
Want the function to sort the table by HP but if duplicate HPs then
I want to fold function definitions in python code using Vim syntax based folding.
In the folder function of the Array.Fold operation, i want to look back arbitrary
2 fold issue. I need to hide an element(A) if another element(B) is empty

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.