DashboardObjectBuildDataFieldsAndColumns Method |
|
DataPA OpenAnalytics API Reference
Generates the JSON configuration for the table data fields and columns for the given DashboardObject and DataTable
Namespace: DataPAEnterpriseDashboardAssembly: DataPAEnterpriseDashboard (in DataPAEnterpriseDashboard.dll) Version: 1.0.90.0 (1.0.90.0)
Syntax public static void BuildDataFieldsAndColumns(
DataTable dataTable,
DashboardObject dashboardObject,
ref string columns,
ref string dataFields,
ref string columnFormats,
DashboardObjectColumnGroup[] columnGroups,
CubeDataRenderer cube = null,
HtmlGenericControl customStyleBlock = null,
string pivotHeaderClassName = "",
ref string columnDrilldowns = "",
ref bool onlyOneDataColumn = false,
ref bool onlyOneGroupColumn = false,
bool pinPivotRowColumns = true
)
Public Shared Sub BuildDataFieldsAndColumns (
dataTable As DataTable,
dashboardObject As DashboardObject,
ByRef columns As String,
ByRef dataFields As String,
ByRef columnFormats As String,
columnGroups As DashboardObjectColumnGroup(),
Optional cube As CubeDataRenderer = Nothing,
Optional customStyleBlock As HtmlGenericControl = Nothing,
Optional pivotHeaderClassName As String = "",
Optional ByRef columnDrilldowns As String = "",
Optional ByRef onlyOneDataColumn As Boolean = false,
Optional ByRef onlyOneGroupColumn As Boolean = false,
Optional pinPivotRowColumns As Boolean = true
)
public:
static void BuildDataFieldsAndColumns(
DataTable^ dataTable,
DashboardObject^ dashboardObject,
String^% columns,
String^% dataFields,
String^% columnFormats,
array<DashboardObjectColumnGroup>^ columnGroups,
CubeDataRenderer^ cube = nullptr,
HtmlGenericControl^ customStyleBlock = nullptr,
String^ pivotHeaderClassName = L"",
String^% columnDrilldowns = L"",
bool% onlyOneDataColumn = false,
bool% onlyOneGroupColumn = false,
bool pinPivotRowColumns = true
)
DataPAEnterpriseDashboard.DashboardObject.BuildDataFieldsAndColumns = function(dataTable, dashboardObject, columns, dataFields, columnFormats, columnGroups, cube, customStyleBlock, pivotHeaderClassName, columnDrilldowns, onlyOneDataColumn, onlyOneGroupColumn, pinPivotRowColumns);
Parameters
- dataTable
- Type: System.DataDataTable
- dashboardObject
- Type: DataPAEnterpriseDashboardDashboardObject
- columns
- Type: SystemString
The column configuration for the javascript grid - dataFields
- Type: SystemString
The datafield configuration for the javascript grid - columnFormats
- Type: SystemString
An object collection detailing the rendering format of each column - columnGroups
- Type: DataPAEnterpriseDashboardDashboardObjectColumnGroup
- cube (Optional)
- Type: DataPAEnterpriseDashboardCubeDataRenderer
- customStyleBlock (Optional)
- Type: System.Web.UI.HtmlControlsHtmlGenericControl
- pivotHeaderClassName (Optional)
- Type: SystemString
- columnDrilldowns (Optional)
- Type: SystemString
- onlyOneDataColumn (Optional)
- Type: SystemBoolean
- onlyOneGroupColumn (Optional)
- Type: SystemBoolean
- pinPivotRowColumns (Optional)
- Type: SystemBoolean
Remarks See Also