SQL Param Map ID - Live Scroll Grid
This step is alternative to step Existing Data Source.
The following steps are applicable, only if SQL Param Map ID is used to connect to datasource:
- 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 Business Key Position This key position identifies the uniqueness of a row based on columns that exist, in accordance with the business rules. 5 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
6 Data Type
Indicates the Canvas data type of the column.
string
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
- 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
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.
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 Hidden Column
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 Hidden 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 Hidden 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:
#
Field Name
Description
Sample Value
Sort & Filter
1 Sortable Column
Toggle on: Enables the sorting indicator for the column.
Toggle off: Hides the Sorting Indicator. The user cannot sort records by the current column.2 Column Sort Position
This option is available when 'Column Sortable Indicator' toggle is On.
Places the selected column in the defined position for ORDER BY clause in sorting.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.
Toggle off: Does not allow filtering of records by the current column.5 Is Filtered
Toggle on: Indicates that the current column is filtered.
Toggle off: Indicates that the current column is not 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.
Compares the filtering data with criteria.8 Compare Value
This option is available when 'Is Filtered' toggle is On.
Compares the value with the filtering data.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.
- Basic Config: