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: 13,279Questions: 0Answers: 2,268

    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

Sign In or Register to comment.