Note |
---|
This step is alternative to step Existing Data Source. |
...
- Click Click to Add Column to add the columns manually to the designer area.
- Provide the column details and add them to the designer area based on the description provided in the following table:
- Basic Config:
#
Field Name
Description
Sample Value
Basic Configuration
1 Column ID
Unique ID of the column as in the database.
2 Column Display Name Key
Localized label key of the column that appears as column title on the grid.
3 Entitlement Criteria
Map the entitlement criteria defined in the database to the field/column based on which the data must be filtered and displayed in the app for the user.
For more information, please refer the Data Level Entitlements Configuration4 Datatype
Indicates the Canvas data type of the column.
String
5 Business Key Position This key position identifies the uniqueness of a row based on columns that exist, in accordance with the business rules. 6 Drill Down Indicator
Indicates the hyperlink in the column values that lead to another process or window.
The developer must use CWEC.DRILL_DOWN handler to write the hyperlink click action logic. See section Adding Handlers to the App for more information.No
7 Channel
Indicates whether the Column is applicable for all devices or Desktop or Mobile or Tablet.
Select the applicable channel for the column.All
- Group Configuration:
#
Field Name
Description
Sample Value
Group Configuration
1 Is Groupable
Marks the columns which the end-user can group.
Toggle On: Enables the grouping options.
A Group By combo box will appear just below the header with the columns which has Is Groupable toggle On.
Toggle Off: Does not enable the grouping options.
The Groupable columns combo will not appear.Yes
2 Is Grouped
This option is available when 'Is Groupable' is 'Yes'.
Toggle On: Marks the columns by which the records can be grouped.
Toggle Off: Does not mark the columns for grouping.Yes
3 Aggregate using
Provides the aggregate of the grouped data based on the option selected. At least any one column should have the aggregate values to group records.
Count
- Column Template:
#
Field Name
Description
Sample Value
Column Template
1 Enable Column Template
Toggle on: Switch on the toggle to select a custom template for the column.
Select the template from the list that pops up once you switch on the toggle.For information on creating column template, refer Creating Templates.
Toggle off: Switch off the toggle if you do not want to select custom template for the column. - Position:
#
Field Name
Description
Sample Value
Position
1 Mandatory Column Indicator
Toggle on: Indicates that the current column always appears in the view. Column Visibility cannot be set if Column Mandatory Indicator toggle is on.
Toggle off: Indicates that the current column may or may not appear on the view.2 Column Visibility
Enables the column to show or hide. The end-user can make a column visible or invisible.
Toggle on: Displays the column in the view.
Toggle off: Hides the column from the view.
Note This option will be available for the user only when the Column Mandatory Indicator is set to No. If the Column Mandatory Indicator is set to Yes, then the Column Visibility value will automatically change to Yes and will be unavailable for the user.
3 Hide Column Indicator
Enables the column to show or hide. The end-user can make a column visible or invisible. This property over rides the property set in Column Visibility.
Toggle on: Displays the column in the view.
Toggle off: Hides the column from the view.
Example 1: For a column, if Column Visibility is set as No and Hide Indicator is set as No, then in output if Show Hidden Items is selected then the column will be displayed in the grid.
Example 2: For a column, if Column Visibility is set as No and Hide Indicator is set as Yes, then in output if Show Hidden Items is selected the column will not be displayed in the grid.4 Priority Prioritizes the selection of channels. 1 indicates All Channels, 2 indicates Desktop and Tablet and 3 denotes Mobile. Based on the Priority, the chart will get displayed in the functional application, involving the type of channel, which was chosen by the user. - Sort and Filter:
- Basic Config:
# | Field Name | Description | Sample Value |
---|---|---|---|
Sort & Filter | |||
1 | Sortable Column Indicator | Toggle on: Enables the sorting indicator for the column. | |
2 | Column Sort Position | This option is available when 'Column Sortable Indicator' toggle is On. | |
3 | Sortable Column ID | Specify the column ID (in data source) by which the data needs to be sorted. | |
4 | Enable Filter | Toggle on: Enables filtering records by current column. | |
5 | Is Filtered | Toggle on: Indicates that the current column is filtered. | |
6 | Filter Column ID | Specify the column ID (in data source) by which the data can be filtered. Specify the filter argument and value in the Compare As and Compare Value fields respectively. | |
7 | Compare As | This option is available when 'Is Filtered' toggle is On. | |
8 | Compare Value | This option is available when 'Is Filtered' toggle is On. | |
9 | Lookup Filter Extra Params | This value is used to call the single lookup app with different entitlement. |
To add dynamic filters to your data, refer Pass Dynamic Value for View Column Filter.