This sample provides code to delete all rows of a data table.
Introduction
This sample provides code to delete all rows of a data table.
Code Sample
# Copyright © 2020. TIBCO Software Inc. Licensed under TIBCO BSD-style license. #Import Namespace from Spotfire.Dxp.Data import RowSelection, IndexSet #Clear your table designated by 'MyTable' script parameter MyTable.RemoveRows(RowSelection(IndexSet(MyTable.RowCount,True))) #MyTable - Script parameter referencing the data table from which all the rows need to be deleted.
References
- API Reference:RowSelection
- API Reference:Remove Rows
License: TIBCO BSD-Style License
Recommended Comments
There are no comments to display.