Deleting all rows in a Dataset (except its header) by Script

A post was split to a new topic: Display custom message when Perspective Table has no data