interface TableSortConfigurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnTemplate.TableSortConfigurationProperty |
Java | software.amazon.awscdk.services.quicksight.CfnTemplate.TableSortConfigurationProperty |
Python | aws_cdk.aws_quicksight.CfnTemplate.TableSortConfigurationProperty |
TypeScript | @aws-cdk/aws-quicksight » CfnTemplate » TableSortConfigurationProperty |
The sort configuration for a TableVisual
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as quicksight from '@aws-cdk/aws-quicksight';
const tableSortConfigurationProperty: quicksight.CfnTemplate.TableSortConfigurationProperty = {
paginationConfiguration: {
pageNumber: 123,
pageSize: 123,
},
rowSort: [{
columnSort: {
direction: 'direction',
sortBy: {
columnName: 'columnName',
dataSetIdentifier: 'dataSetIdentifier',
},
// the properties below are optional
aggregationFunction: {
categoricalAggregationFunction: 'categoricalAggregationFunction',
dateAggregationFunction: 'dateAggregationFunction',
numericalAggregationFunction: {
percentileAggregation: {
percentileValue: 123,
},
simpleNumericalAggregation: 'simpleNumericalAggregation',
},
},
},
fieldSort: {
direction: 'direction',
fieldId: 'fieldId',
},
}],
};
Properties
Name | Type | Description |
---|---|---|
pagination | IResolvable | Pagination | The pagination configuration (page size, page number) for the table. |
row | IResolvable | IResolvable | Field [] | The field sort options for rows in the table. |
paginationConfiguration?
Type:
IResolvable
|
Pagination
(optional)
The pagination configuration (page size, page number) for the table.
rowSort?
Type:
IResolvable
|
IResolvable
|
Field
[]
(optional)
The field sort options for rows in the table.