Site icon UnofficialSF

Datatable – Lightning Web Component for Flow Screens

Datatable – Lightning Web Component for Flow Screens

Created by Eric Smith


This Post was most recently updated on: 4/19/24
Current Version: 4.2.0

4/9/24 – Eric Smith – Version 4.2.0

Updates:

Bug Fixes:


Click here for Troubleshooting & Restrictions

See the complete list of changes in the Release Notes


Table of Contents

Table of Contents (Click to Expand)
  1. About
  2. Troubleshooting & Restrictions
  3. Installation
  4. Source Code
  5. Reference
  6. Data Source
  7. Table Formatting
  8. Configure Columns
  9. Table Behavior
  10. Advanced
  11. Output Attributes
  12. Additional Resources
  13. Videos
  14. Old Versions & Release Notes

ABOUT

Datatable is a Flow Screen Component that allows you to configure and display a datatable on a flow screen. All you need to do is drag it onto the flow screen in the Flow Builder and give it a collection of records and a list of field names. The field label, type, and numeric formatting will default to what is defined in the object. The displayed records can be selected and/or edited for further use in the flow.

While interacting with the datatable, the user can sort columns, filter columns, search for records, change column widths, wrap or clip the displayed text, select rows, and edit fields.

In addition to supporting standard and custom Salesforce objects, user created Apex-Defined objects can be used as well. See Flow and Process Builder List View with Batch Delete for an example.



Additional Optional Functionality

Even though the component can be very simple to use in its basic format, you have a tremendous amount of flexibility and capability when you take advantage of some of the numerous optional attributes that are available.


Object Support

The Salesforce Object is specified at the time of configuration, allowing just one version of this component to be used for all Salesforce Objects.

User defined Apex-Defined Object variables are supported.

Troubleshooting & Restrictions

Running User has Edit access to the Contact object
Running User does not have Edit access to the Contact object

Top

Installation

Step 1

This component requires that you first install or upgrade the Flow Base Packs*

Step 2

Install the Datatable package

Production or Developer Version 4.2.0
Sandbox Version 4.2.0

Step 3 (New in v4.1.0)

Activate the latest version of the “Datatable Configuration Wizard” Flow

Step 4

Manage Assignments for the USF Flow Screen Component – Datatable Permission Set

* The following components from the Flow Base Packs are used in Datatable:
FlowActionsBasePack
usf3.FieldDescriptor
usf3.FieldPickerController
usf3.GetFieldInformation


FlowScreenComponentsBasePack
CustomLabels.labels
fsc_displayError
fsc_flowBanner
fsc_flowCheckbox
fsc_flowCombobox
fsc_flowComboboxUtils
fsc_pickIcon
fsc_pickObjectAndField
fsc_pickObjectAndFieldUtils
fsc_screenFlow
fsc_screenFlow.page
fsc_screenFlowApp.app
fsc_searchableDataTable


Note:

Starting with Version 3.0.9 you can check the current version of your Datatable component by looking at the bottom of the Advanced section in the Custom Property Editor.


Top

Source Code

View Source


Top

Reference

Starting with Version 3.0.0, this component includes a CPE (Custom Property Editor). This makes it much easier to configure the Datatable when adding it to your Flow Screens.

Each section in the CPE (Custom Property Editor) has a help page you can access by clicking on the (i) in the header.


Top

Data Source

Each instance of the Datatable Component requires an API Name, an Object and a Collection of Records to display.

Normally, the Select Object picklist will display the most common Standard objects and all Custom objects. If you select the “Display ALL Objects for Selection” checkbox, all Salesforce objects should be available in the Select Object picklist.

Normally, the Select Object picklist will display the most common Standard objects and all Custom objects. If you select the “Display ALL Objects for Selection” checkbox, all Salesforce objects should be available in the Select Object picklist.


Top

Table Formatting

If you select the checkbox for Display Table Header, the system will automatically pick the system defined icon and plural object name for you. You can change these if you like.

The Icon Picker can also be used to select the Header Icon. Any icon selected in the picker will populate the Header Icon value automatically.

Example Header Icon and Label

Note: Starting in version 4.2.0 the Header Label is reactive to any changes in the flow.

The value you enter for “Maximum Number of Records to Display” will reduce the size of the record collection to the first number of records specified in the value setting.

The “Add Pagination” checkbox changes the datatable to display a fixed number of records at a time with buttons below the table to allow the user to navigate back and forth in the datatable. Additional attributes allow you to specify the default number of records to display at a time and whether or not you want to include First and Last buttons in the footer.

The header will include a user adjustable entry to specify how many records to display at a time and the footer will include Previous and Next buttons along with a Page Number value that the user can enter directly to jump to a particular page.

If you check the “Show Row Numbers” checkbox, a column will be added on the left side of the datatable with the row number for each record in the table. The default for this setting is False, however it will always be displayed if any columns are configured to be editable.

If you select the “Show Record Count in Header” checkbox, the number of records in the datatable will be included as part of the header. This is similar to what Salesforce displays for List Views.

When checking the “Show search bar” checkbox, a search box will display in the table header. The data in all table columns will be searched and records with matching values will be displayed. The Search can be combined with the individual column Filters to restrict which records will be displayed in the Datatable. When the Datatable has been searched and/or filtered, the header will show both the number of displayed records along with the total number of records.

NOTE: When the Search Bar is enabled, the Header is required and will appear slightly larger than a table without a Search Bar.
NOTE: When the Search Bar is enabled, the border can’t be disabled and it will appear with rounded rather than square corners.


Top

Configure Columns

The Configure Columns button runs a special configuration wizard flow that lets you select the columns(fields) to include in your datatable. Once the fields are selected, it creates a sample table that you can interact with to customize your datatable. Upon completion of the customization, the wizard will populate up to 8 separate Column Attribute parameters for you.


Column Fields

You can select and order your fields from a list of all the fields from your datatable’s object.

You also have the option to type in a list of the field API names instead of picking from a list.

If you have saved any column configuration records, you will see a third option to select and load any of the previously saved configuration records for the current Object.

Once the fields are selected, you will see a sample datatable with your selected fields and the first few records from your selected object.


Column Alignments

You can change the default Column Alignment by selecting the drop-down on a column heading and then selecting Align Left, Align Center or Align Right.

Column Edits

You can pick which columns you want to allow editing on by selecting the drop-down on a column heading and then clicking the Allow Edit tag on or off. You can also click the “Make all columns editable” button below the table to make all or none of the columns editable.

Note that some data types cannot be edited in a datatable (lookup, location, encrypted, rich text, long text area). The edited record values are not saved directly to the object, but are passed back to the Flow where an Update Records can be used to permanently save the changes.

Column Filters

You can pick which columns you want to allow filtering on by selecting the drop-down on a column heading and then clicking the Allow Filter tag on or off. You can also click the “Make all columns filterable” button below the table to make all or none of the columns filterable.

Column Filters allow a user to narrow down the number of displayed records in the Datatable by entering filter values for any columns where filters are allowed. See the Filter Example at the end of this article.

When any column filters have been applied, a Clear All Filters button will be displayed under the Datatable. The button can be hidden by selecting the Hide Clear Selection/Filter Buttons option.

Column Icons

You can add an Icon to the header of any column by selecting the drop-down on a column heading and then clicking Select Icon. Use the Icon Picker to select the Icon Type and then the Icon. See https://www.lightningdesignsystem.com/icons/ for a complete list of available Icons.

Column Labels

Column Labels can be changed by selecting the drop-down on a column heading and then clicking Change Label. If a column label has been changed, you can reset it back to the default by selecting the drop-down on a column heading and then clicking Cancel Change.

Column Widths

By default, the sample table will start with each column the same width. You can change column widths by dragging the vertical line between columns.

To assist with column width consistency, once you have the columns sized approximately the way you want them, you can click the “Snap each Column Width to the Nearest 5 pixel Boundary” button below the table to adjust each column’s width to the nearest 5 pixel width.

Special Note: If you want the entire table width to fill the available container with columns all the same size, activate the “Show/Edit Column Attributes” toggle in the Advanced section and clear the entry for Column Widths. If you want certain columns to start with a particular width, set just their entries in the attribute with the desired width in pixels and all the rest of the columns with no entries will expand to fill the rest of the container width.

New in v4.1.0 – A Flex Width column attribute has been added to the Configure Columns Wizard. When selected, all flexed columns width’s will evenly expand or contract to fill the available space. You can pick which columns you want to allow flexible widths on by selecting the drop-down on a column heading and then clicking the Flex Widths tag on or off. You can also click the “Make all column widths flexible” button below the table to make all or none of the column widths flexible.

This option gives you more control over columns that you specifically want to be narrow or wide while allowing the other columns to find the best fit.

Column Wraps

You can specify if a column should wrap or clip text when it is first displayed by selecting the drop-down on a column heading and then clicking Wrap Text or Clip Text. By default all columns are set to Clip Text with the exception of the Object’s Name field, which will always display as wrapped.

Edit Special Attributes

You can edit the special Cell, Type & Other attributes in the Configure Columns Wizard screen as well as on the component configuration page. Edits made here can be saved with any Configuration Records you create or update while in the Wizard. You must select Save Changes for the attributes to be passed back to the configuration page.

Configuration Record Options

You can save the current configuration by selecting an existing Configuration record to update or you can enter a new unique name to save the configuration in a new Configuration record.

When you have finished making adjustments to the sample table, click the Done button then close the final window to return to the Flow Builder.

NOTE: Starting in v4.1.0, clicking Done on the Column Configuration Wizard screen will close the window for you.


Top

Table Behavior

The Table Behavior checkboxes let you fine-tune how you want the user’s interaction with the table to be. Certain options could be disabled based on the values of other options.


Top

Advanced

The advanced options let you do things like see and change all of the individual column attributes, specify a record type for picklist edit values or select an Apex-Defined object instead of a regular Salesforce object.

By default, the values shown when editing a picklist field will be all of the available options for that field regardless of Record Type restrictions. If you want to restrict the values to only be those defined for a particular Record Type, you can provide that Record Type Id in the Advanced section. This setting will apply to all rows in the datatable regardless of the individual record’s record type.

If you don’t want a –None– option to be included when editing a picklist field, clear this checkbox. Keep in mind that leaving this option out will not allow you to clear a picklist value when editing a picklist field.

Automatic currency conversion to the User’s currency in Multi-Currency orgs was introduced in v3.1.1. This option allows you to suppress that conversion.

Selecting the “Allow table to overflow its container” option is helpful when you are editing picklist values in a table with only a few records. Although this removes the need to scroll vertically to see the entire picklist drop-down, it will also cause wide datatables to horizontally overflow narrow regions on the screen.

Without Allow Overflow Selected
With Allow Overflow Selected

When you select the “Show/Edit Column Attributes” toggle, you will see each of individual column attributes settings. These are the same attributes that were required for datatableV2. You can enter your own data here or change what was pre-filled by the Configure Columns Wizard.

If you select the “Input data is Apex-Defined” or the “Input data is Serialized” checkbox, other attributes will be displayed including different selections for which records to display and which records are pre-selected.

For more information about using Apex-Defined Data Types, please see these additional resources.
Manipulate Rich Web Data in Flow Without Code (Apex-Defined Data Types)
How to use Apex-Defined Objects with the Datatable

For more information about using Serialized record data, please see this post.
Working with Serialized Data

The Configure Columns Wizard is not available for Apex-Defined objects. By default, each of the individual Column Attributes will be displayed, including Column Scales and Column Types which are unique to Apex-Defined data sources.

NOTE: For non-standard field types in Apex Defined Objects (Arrays, JSON, etc), specify a Column Type of ‘richtext‘ in order to display the complete field contents.

Special Formatting for Comma Separated List Attributes

These optional attributes can be specified as a comma separated list of Column Identifier:Value pairs. The Column Identifiers can be either the column number or the field API name. Keep in mind that if you use column numbers instead of the field API name, you will have to update the identifiers if you insert, remove or change the order of the columns.

Another option is to omit the column identifiers and just provide a comma separated list of values. If you choose this method, you must provide a value for every column (A,B,,D would be invalid) and you can’t use this method with attributes that already contain a ‘:’, such as Column Icons (standard:account).

These Column Widths attributes would all work the same for setting the initial column widths of the sample table at the top of this page.

Special Formatting for Semicolon Separated List Attributes

These optional attributes can be specified as a semicolon separated list of Column Identifier:Value pairs. The Column Identifiers can be either the column number or the field API name. Keep in mind that if you use column numbers instead of the field API name, you will have to update the identifiers if you insert, remove or change the order of the columns. Another option is to omit the column identifiers and just provide a semicolon separated list of values. If you choose this method, you must provide a value for every column.

The reason for these attributes is to give the user more control over how their datatable is formatted. I included predefined options for standard attributes like Label, Alignment, and Width. These additional options allow the user to manually add in other standard attributes like WrapText, CellAttributes like appending an icon to column data, and TypeAttributes to fine-tune how different data types (like dates) are displayed. See the Salesforce Datatable Documentation for details.

Note: If you are referencing the value of another field in your attribute, that field must also be one of the fields displayed in the datatable.
Example Cell Attribute: FancyField__c:{class: slds-theme_shade slds-theme_alert-texture, iconName: {fieldName: IconValue__c}
Since the Cell Attribute for the FancyField__c column references ‘IconValue__c’, the IconValue__c field must be one of the columns included in the datatable.


Example #1: Column Icons, Column Widths & Special Column TypeAttributes

Column Icons
1:standard:account, 2:utility:builder, 3:utility:date_input, 4:utility:date_time

Column Widths
200, 120, 200, 200

Special: Column TypeAttributes
2:{year: 2-digit, month: numeric, day: numeric}; 3:{year: numeric, month: long, day: 2-digit, weekday: long}; 4:{year: 2-digit, month: 2-digit, day: 2-digit, hour: 2-digit, minute: 2-digit, time-zone-name: short}

Special Note for Date & Datetime Formatting

If you add custom TypeAttributes to a Date or Datetime field, the value will be converted from a ‘date-local’ value to a standard datetime value. This will cause the value to be processed as UTC time rather than being converted to the browser’s local time zone.

For more details on Date and Datetime formatting see the Salesforce Formatted Date Time documentation.

Other Formatting with TypeAttributes

You can use Column TypeAttributes for other types of field formatting. For additional details, reference the Formatting with Data Types section of the Salesforce documentation for the base lightning datatable. For example, to have a numeric column display with a single digit after the decimal point, use the follow format for your TypeAttribute:

fieldAPIname:{maximumFractionDigits:1}


Example #2: Column Labels, Special Column CellAttributes & Special Column Other Attributes

Column Labels
Name:Account Name, dt_Text__c:Field Value Used as Attribute, FancyField__c:Icon Value from a Different Field, IconValue__c:Icon Value

Special: Column CellAttributes
dt_Text__c:{class: {fieldName: dt_Text__c}}; FancyField__c:{class: slds-theme_shade slds-theme_alert-texture, iconName: {fieldName: IconValue__c}, iconPosition: left}

Special: Column Other Attributes
3:{wrapText:true}


Top

Output Attributes

The following Output Attributes are available in your Flow. There is no need to manually assign these values as the system will make them available to the rest of your Flow automatically. .

ATTRIBUTETYPENOTES
Output Number of Edited RecordsIntegerTotal count of the number of edited records
NOTE: Use this to confirm if no rows were edited because the Output Edited Rows attribute will not be Null even when no rows are edited
Output Edited Rows ±SObject Collection VariableRecord Collection variable to contain only the records that were edited in the datatable.
NOTE: To write these edits back to the Object, you will need to do a Record Update in the Flow.
Output Edited Rows (User Defined) ±StringSerialized String of Apex-Defined object records
± Only one of these is provided based on the value of (User Defined) Display User Defined Object?
Output Number of Selected RecordsIntegerTotal count of the number of selected records
Output Selected Row (Object)SObject VariableRecord Object variable that contains the single record that was selected in the datatable.
NOTE: This is only provided when just a single record is selected.
Selected Row Key Field ValueStringThe value of the keyField of the selected row. The default value for keyField is Id.
NOTE: This is only provided when just a single record is selected.
Output Selected Rows (Collection)±±SObject Collection VariableRecord Collection variable to contain only the records that were selected in the datatable
NOTE: The Selected Rows collection will contain all of the selected records but you will need to also access the Edited Rows collection to see the edited field values. See this link in the Additional Resources section to review How to use both the Selected and the Edited records in a Datatable.
Output Selected Rows (User Defined) ±±StringSerialized String of Apex-Defined object records
±± Only one of these is provided based on the value of (User Defined) Display User Defined Object?

Top

ADDITIONAL RESOURCES

Review this 4-part Blog series for some ideas on how you can take advantage of datatables in your Flows. Eric writes about how he used his original datatable component to do things like dynamic record presentation and selection, how to select and act on a collection of records, displaying formatted interactive tables and how to inline edit a group of records.

Part 1: Use a Datatable to present a dynamic choice for record selection in a Flow.
Part 2: Use a Datatable in a Flow to select and act on a collection of records.
Part 3: Use a Datatable to display a formatted, interactive table in your Flow.
Part 4: Use a Datatable to inline edit a group of records.

How to use Apex-Defined Objects with the Datatable

How to use both the Selected and the Edited records in a Datatable

Let’s Revisit How to use both the Selected and the Edited records in a Datatable

Display Rich Text and Custom Links and Images in Datatables

New features for displaying and interacting with the Datatable (Fall ’20)


Top

Videos

Datatable Overview

https://unofficialsf.com/wp-content/uploads/2020/06/Datatable-Video-1.mp4


Formatting and Customizing

https://unofficialsf.com/wp-content/uploads/2020/06/Datatable-Video-2.mp4


Custom User Defined Object

https://unofficialsf.com/wp-content/uploads/2020/06/Datatable-Video-3.mp4


Column Filtering Example


How and why I created this component


Top

Old Versions & Release Notes

Installation

Click Here for Installation Links for the current version


Release Notes & Previous Versions

Current Version

4/9/24 – Eric Smith – Version 4.2.0

Updates:

Bug Fixes:

Production or Developer Version 4.2.0
Sandbox Version 4.2.0


Previous Versions

2/6/24 – Eric Smith – Version 4.1.6

Bug Fixes:

Production or Developer Version 4.1.6
Sandbox Version 4.1.6

10/12/23 – Eric Smith – Version 4.1.5

Updates:

Note: No official package link was released for this version

6/14/23 – Eric Smith – Version 4.1.4

Bug Fixes:

Production or Developer Version 4.1.4
Sandbox Version 4.1.4

6/13/23 – Eric Smith – Version 4.1.3

Bug Fixes:

6/4/23 – Eric Smith – Version 4.1.1

Production or Developer Version 4.1.1
Sandbox Version 4.1.1

Updates:

Bug Fixes:

Fixed reactivity for DataFetcher on initial load of screen

5/21/23 – Eric Smith – Version 4.1.0

Production or Developer Version 4.1.0
Sandbox Version 4.1.0

Updates:

Bug Fixes:

11/2/22 – Eric Smith – Version 4.0.12

Production or Developer Version 4.0.12
Sandbox Version 4.0.12

Bug Fixes:

9/9/22 – Eric Smith – Version 4.0.11

Production or Developer Version 4.0.11
Sandbox Version 4.0.11

Bug Fixes:

9/7/22 – Eric Smith – Version 4.0.9

Production or Developer Version 4.0.9
Sandbox Version 4.0.9

Bug Fixes:

7/9/22 – Eric Smith – Version 4.0.8

Production or Developer Version 4.0.8
Sandbox Version 4.0.8

Bug Fixes:

7/7/22 – Eric Smith – Version 4.0.7

Production or Developer Version 4.0.7
Sandbox Version 4.0.7

Updates:

Bug Fixes:

7/4/22 – Eric Smith – Version 4.0.6

Production or Developer Version 4.0.6
Sandbox Version 4.06

Updates:

Bug Fixes:

5/28/22 – Eric Smith – Version 4.0.5

Production or Developer Version 4.0.5
Sandbox Version 4.0.5

Updates:

Bug Fixes:

5/22/22 – Eric Smith – Version 4.0.4

Production or Developer Version 4.0.4
Sandbox Version 4.0.4

Bug Fixes:

4/14/22 – Alex Edelstein – Version 4.0.3

Production or Developer Version 4.0.3
Sandbox Version 4.0.3

Updates:

3/25/22 – Eric Smith – Version 3.5.1

Production or Developer Version 3.5.1
Sandbox Version 3.5.1

Bug Fixes:

3/15/22 – Eric Smith – Version 3.5.0

Production or Developer Version 3.5.0
Sandbox Version 3.5.0

Updates:

Bug Fixes:

2/16/22 – Eric Smith – Version 3.4.5

Production or Developer Version 3.4.5
Sandbox Version 3.4.5

Updates:

Bug Fixes:

2/4/22 – Alex Edelstein – Version 3.4.3 – bug fix

Production or Developer Version 3.4.3
Sandbox Version 3.4.3

1/30/22 – Alex Edelstein – Version 3.4.2

Updates:

8/13/21 – Eric Smith – Version 3.3.2

Updates:

Bug Fixes:

7/18/21 – Eric Smith – Version 3.3.0

Updates:

Bug Fixes:

6/26/21 – Eric Smith – Version 3.2.4

Updates:

Bug Fixes:

6/13/21 – Eric Smith – Version 3.2.3

Updates: 3.2.3

6/11/21 – Eric Smith – Version 3.2.2

Updates: 3.2.2

Bug Fixes:

5/18/21 – Eric Smith – Version 3.2.1

Updates:

Bug Fixes:

5/3/21 – Eric Smith – Version 3.2.0

Updates:

Bug Fixes:

4/15/21 – Eric Smith – Version 3.1.1

Updates:

Bug Fixes:


2/27/21 – Eric Smith – Version 3.0.10

Updates:

Bug Fixes:

2/17/21 – Eric Smith – Version 3.0.9
Updates:
Add option to Display Row Numbers (default=false)
Allow setting of Table Header for Apex Defined Objects
Display the current Version # at the bottom of the CPE
Bug Fixes:
Allow a Type Attribute to set the Maximum number of decimal places to display to be less than the field default Minimum
Fix initial attribute display in the CPE when using an Apex Defined Object
Fix attribute corruption when updating multiple times

1/8/21 – Eric Smith – Version 3.0.8
Updates:
Relocate source code to the correct packaging org
Users with version 3.0.3 through 3.0.6 will need to uninstall & reinstall
Users with versions up to 3.0.2 should be able to upgrade directly

1/6/21 – Eric Smith – Version 3.0.6
Bug Fixes:

Fixed checkbox behavior in the CPE
Fixed an error selecting checkboxes in the CPE
Fixed an error with attributes not being able to be cleared
Fixed an error with Textarea not showing Rich Text correctly

1/1/21 – Eric Smith – Version 3.0.5
Updates:
Added Icon Pickers to the CPE and Configure Columns Wizard (Requires FlowScreenComponentBasePack v2.1.2 or later)
Changed ‘Display ALL Objects for Selection’ checkbox to default to unchecked
Bug Fixes:
Removed field names from Empty Table Header
Fixed “Apex CPU time limit exceeded” error (FlowActionsBasePack v2.9 or greater)

12/19/20 – Eric Smith – Version 3.0.4
Updates: Object picklist now supports an option to include ALL Salesforce SObjects

12/14/20 – Eric Smith – First Version 3 Release – Now with a Custom Property Editor (CPE)
Production or Developer Version 3.0.2
Sandbox Version 3.0.2

10/14/20 – Eric Smith – datatableV2 – v2.47
Bug Fix:
Display correct icon for Table Header (was always showing standard:account icon)

OPTIONAL INSTALLATION METHOD:
Use the Deploy to Salesforce button found here – https://github.com/ericrsmith35/DatatableV2

10/7/20 – Eric Smith – datatableV2 – v2.46
Updates:
Added new Output Parameter for the # of Selected Records
(this can be used for conditional visibility on the same screen as the datatable)
New Selected Record Output Parameter – Returns an SObject record if just a single record is selected
New Required? Parameter – Requires the user to select at least 1 row to proceed
New option to suppress the link for the object’s standard Name field
New optional Table Header with Table Icon and Table Label Parameters
Switched DualListbox to the fbc version
Added spinners while sorting & filtering data
Allow case insensitive field API names
Allow custom field API names w/o the __c suffix
Bug Fixes:
Display Picklist Labels instead of API Names for Picklist and Multipicklist fields
Added a Clear Selection button for tables with just a single record

9/22/20 – Eric Smith – datatableV2 – v2.45
Bug Fix: Fixed inability to edit some field types (introduced by v2.44)

9/20/20 – Kevin Hart – datatableV2 – v2.44
Updates: Added ability to display Rich Text fields
Bug Fix: Eric Smith – Fixed error when selecting column action of WrapText or ClipText

8/26/20 – Eric Smith – datatableV2 – v2.43
Bug Fix: Update Percent Field Handling and set Formula Fields to be Non-Editable

8/26/20 – Eric Smith – datatableV2 – v2.42
Bug Fix: Update Time fields with the User’s Timezone Offset value so they display as intended
Bug Fix: Fix field type so Datetime fields display correctly

8/14/20 – Eric Smith – datatableV2 – v2.41
Bug Fix: Fixed issue with time and date-time fields being displayed as a day earlier 

8/11/20 – Eric Smith – datatableV2 – v2.40
Updates: Added attribute to allow the suppression of the record link on the SObject’s ‘Name’ field
Bug Fix: Fixed code so the ‘Name’ Field column now sorts correctly

7/31/20 – Eric Smith – datatableV2
v2.39 – Updates: Added Datatable Configuration Helper Flow
REQUIRES: Flow Base Components (https://unofficialsf.com/introducing-flowbasecomponents/)
REQUIRES: Dual List Box (https://unofficialsf.com/duallistbox/)
REQUIRES: Remote Site Setting (Setup)

7/31/20 – Andy Hass – datatableV2
v2.38 – Updates: Added support for Checkbox Field Type

7/7/20 – Eric Smith – datatableV2
v2.37 – Bug Fix: Fixed issue with the date being displayed as a day earlier

7/1/20 – Eric Smith – datatableV2
v2.36 – Updates: Now displays the primary “Name” field as a Link (textWrap = true)
Added button in Config Mode to round off Column Width values 
v2.35 – Updates: Extended Configuration Mode to handle Column Alignments, Labels, Widths, Allow Edit & Allow Filter
Added Configuration Mode buttons to select all columns for Edit and/or Filter
Selecting an attribute string now copies the contents into the system Clipboard

6/24/20 – Eric Smith – datatableV2
v2.34 – Bug Fix: Fixed issue with column widths resetting when filtering
Updates: Added Datatable Configuration Helper Flow
(Requires transferMetadata LWC @ https://unofficialsf.com/retrieve-and-deploy-metadata-with-flow-using-transfer-metadata-as-a-screen-component/)

6/19/20 – Eric Smith – datatableV2
v2.33 – Updates: Removed default value for Table Height
Bug Fix: Fixed issue with lookup fields being blank in the first record

6/9/20 – Eric Smith – datatableV2
v2.32 – Fixed error when editing multiple columns on the same row while Cancel/Save buttons were suppressed

Unmanaged v2.32 (Production/Developer)
Unmanaged v2.32 (Sandbox)

6/4/20 – Eric Smith – datatableV2
v2.31 – Initial release for Summer ’20 orgs

Unmanaged v2.31 (Production/Developer)
Unmanaged v2.31 (Sandbox)

Prior versions of the datatableLwcFsc can now be replaced by datatableV2 starting in Summer ’20 orgs

4/22/20 – Eric Smith 
v2.0 – NOTE: Summer ’20 pre-release orgs only – Unmanaged v2.0 (Developer Org)

4/15/20 – Eric Smith 
v1.1 – Added the ability to filter a datatable by individual columns, cleaned up some error handling.

Unmanaged v1.1 (Production/Developer)
Unmanaged v1.1 (Sandbox)


4/2/20 – Eric Smith 
v1.0 – Initial Release – Includes versions for Account, Asset, Campaign, Case, Contact, Contract, Lead, Opportunity, OpportunityLineItem, Product2, User

Unmanaged v1.0 (Production/Developer)
Unmanaged v1.0 (Sandbox)

The original datatableFSC component is a Lightning Aura Component that supports up to 10 columns. It can be found here.


View Source

Click Here for Source Link

Exit mobile version
Skip to toolbar