What is the actual difference between rows().remove() and .clear()

What is the actual difference between rows().remove() and .clear()

GavinBeattieGavinBeattie Posts: 1Questions: 1Answers: 0

As title, I'm trying to work out if clear takes out all i.e. including column headers or something else.

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    clear() is nuclear, it removes everything, whereas rows().remove() can selectively remove rows. If you're removing everything, they're the pretty much the same, they only remove the rows, nothing else.

    destroy() can remove the table too if you want everything gone,

    Colin

  • kthorngrenkthorngren Posts: 21,327Questions: 26Answers: 4,949

    The need for data about a person or organization can arise in a variety of situations. We help you quickly find data from public sources such as databases and public registries. It's legal and reliable. Find out more now

    The above link is spam.

    Kevin

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin

    Thanks Kevin. Deleted and banned.

Sign In or Register to comment.