@@ -39,6 +39,23 @@ If no `options` parameter is supplied, the report is exported using the default
39
39
Refreshes the data for the report object that is controlled by the
40
40
` ObjectHandle ` .
41
41
42
+ ### getData(options?: Object): ReportObjectResultData[ ]
43
+
44
+ Returns all of the data from the report object. This data matches what appears in the report object, including any filters that have been applied.
45
+
46
+ #### Arguments
47
+
48
+ ` options ` is an optional options bundle for customizing the returned data. The following options are supported:
49
+
50
+ - ` formatData ` specifies the format of the returned data.
51
+ - ` true ` returns all formatted data.
52
+ - ` false ` returns all unformatted data.
53
+ - ` "datesOnly" ` ` default ` returns SAS date values as formatted data and returns all other values as unformatted data.
54
+
55
+ #### Return value
56
+
57
+ Returns an array of [ ` ReportObjectResultData ` ] ( ReportObjectResultData.md ) objects, where each object is associated with one data set.
58
+
42
59
### getSelectedData(options?: Object): ReportObjectResultData[ ]
43
60
44
61
Returns a user's selection data from the report object. Returns an empty array if the object has no selections.
@@ -48,9 +65,9 @@ Returns a user's selection data from the report object. Returns an empty array i
48
65
` options ` is an optional options bundle for customizing the returned data. The following options are supported:
49
66
50
67
- ` formatData ` specifies the format of the returned data.
51
- - ` true ` returns all formatted data
52
- - ` false ` returns all unformatted data
53
- - ` "datesOnly" ` ` default ` returns only SAS date values as formatted and all other data is unformatted
68
+ - ` true ` returns all formatted data.
69
+ - ` false ` returns all unformatted data.
70
+ - ` "datesOnly" ` ` default ` returns SAS date values as formatted data and returns all other values as unformatted data.
54
71
55
72
#### Return value
56
73
0 commit comments