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 6659799
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T02:04:29+00:00 2026-05-26T02:04:29+00:00

I’m using the Google Web Toolkit (GWT) 2.1. I have a GWT Grid (which

  • 0

I’m using the Google Web Toolkit (GWT) 2.1.

I have a GWT Grid (which is just an HTML table, really) that I’m using for data entry. When you click on certain elements outside of the grid, it changes the content within the grid. I’m adding/removing CSS styles to hide certain rows in the grid based on what is selected outside of the grid. The style I’m adding and removing looks like this:

.thegrid .hiderow, .thegrid .hiderow div, .thegrid .hiderow td, .thegrid .hiderow *, .thegrid .hiderow input {
    display: none;
    overflow: hidden;
    height: 0;
}

I had to do this to get IE6 to hide the rows properly. Everything works fine, except (surprise, surprise) in IE6. In IE6, the rows are hidden properly, but when the rows are supposed to be displayed again after I remove the style, the table maintains the reduced size it had when the rows were hidden. When I give the table focus by clicking on it, it then resizes the table and shows me all the rows.

Is there a way for me to make the table expand to the correct size in IE6 after I remove the “hiderow” style from the elements? I don’t want to have to give the table focus, because the focus should be on the element the user clicked outside of the table.

  • 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-26T02:04:30+00:00Added an answer on May 26, 2026 at 2:04 am

    Instead of using CSS to hide rows, you can set the row visibility using JavaScript as a workaround. In GWT, this works like this:

    int row = ...;
    Grid table = ...;
    if(shouldEnableRow(row)) {
        table.getRowFormatter().setVisible(row, true);
    } else {
        table.getRowFormatter().setVisible(row, false);
    }
    

    This translates to a JavaScript call on the DOM. The assumption was that setting the visibility through CSS would have the same effect, and it does in every browser we tested, except IE6 and IE7.

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

Sidebar

Related Questions

That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have thousands of HTML files to process using Groovy/Java and I need to
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
I have a French site that I want to parse, but am running into
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have a text area in my form which accepts all possible characters from
I'm making a simple page using Google Maps API 3. My first. One marker
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function

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.