Jump to content
Sign in to follow this  
Zohar

[Solved] How to Hide a Certain Row in a Table

Recommended Posts

Zohar

Hi

 

The scenario is this:

There is a web page which was not created by me,

I visit it with Internet Explorer,

and in that page there are some Tables.

In one of the tables, there's one certain Row that I want to hide.

I don't want to see it, and it's not critical to the page.

(so I can either Hide it, or Delete it even)

 

Which commands should I use?

 

1) Because this is a Table, it doesn't have an ID or Name.

    So what would be the right way to get an Object to that table?

2) Rows also don't have an ID/Name. So how would I reference the Row?

    Maybe If I have an Object referencing a Table, then I can get an Array of the Table Rows?

3) What command Hides/Deletes a Row?

 

Thank you very much

Zohar

Edited by Zohar

Share this post


Link to post
Share on other sites
Zohar

Hi

Thank you vfor your reply.

I achieved it differently, this way:

$Table.rows(5).style.display="none"

Where $Table is the Table Object

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×