Both Worksheet and Dashboard classes extend Sheet class (#37820)

For reference, see
https://help.tableau.com/current/api/js_api/en-us/JavaScriptAPI/js_api_ref.htm#sheet_classes
This commit is contained in:
stheophil
2019-08-27 16:07:34 -07:00
committed by Andrew Casey
parent 8c64582b6d
commit 5fce6feb8f
+2 -2
View File
@@ -534,7 +534,7 @@ declare namespace tableau {
getIndex(): number;
}
class Worksheet {
class Worksheet extends Sheet {
/** Returns the Dashboard object to which this Worksheet belongs (if its on a dashboard). Otherwise, it returns null. */
getParentDashboard(): Dashboard;
/**
@@ -624,7 +624,7 @@ declare namespace tableau {
maxRows: number;
}
class Dashboard {
class Dashboard extends Sheet {
/** Gets the collection of objects. */
getObjects(): DashboardObject[];
/**