diff --git a/flow_screen_components/datatable/README.md b/flow_screen_components/datatable/README.md index 7bdbc797c..e21926dd5 100644 --- a/flow_screen_components/datatable/README.md +++ b/flow_screen_components/datatable/README.md @@ -51,8 +51,8 @@ https://unofficialsf.com/flow-action-and-screen-component-basepacks/ --- **Install Datatable** -[Version 4.2.1 (Production or Developer)](https://login.salesforce.com/packaging/installPackage.apexp?p0=04t5G000004fz7wQAA) -[Version 4.2.1 (Sandbox)](https://test.salesforce.com/packaging/installPackage.apexp?p0=04t5G000004fz7wQAA) +[Version 4.3.0 (Production or Developer)](https://login.salesforce.com/packaging/installPackage.apexp?p0=04t5G000004fz81QAA) +[Version 4.3.0 (Sandbox)](https://test.salesforce.com/packaging/installPackage.apexp?p0=04t5G000004fz81QAA) --- **Starting with the Winter '21 Release, Salesforce requires that a User's Profile or Permission Set is given specific permission to access any @AuraEnabled Apex Method.** @@ -72,7 +72,7 @@ A Permission Set (**USF Flow Screen Component - Datatable**) is included with th --- # Release Notes -## 07/xx/24 - Eric Smith - Version 4.2.2 +## 07/22/24 - Eric Smith - Version 4.3.0 **Updates:** - Added additional output attributes for Apex Defined records (outputRemovedRowsString & outputRemainingRowsString) - Added an option to display the number of selected records in the table header diff --git a/flow_screen_components/datatable/force-app/main/default/lwc/datatable/datatable.js b/flow_screen_components/datatable/force-app/main/default/lwc/datatable/datatable.js index 91096b177..f903148c9 100644 --- a/flow_screen_components/datatable/force-app/main/default/lwc/datatable/datatable.js +++ b/flow_screen_components/datatable/force-app/main/default/lwc/datatable/datatable.js @@ -201,6 +201,10 @@ export default class Datatable extends LightningElement { get showRowNumbers() { return (this.cb_showRowNumbers == CB_TRUE) ? true : false; } + set showRowNumbers(value) { + this._showRowNumbers = value; + } + _showRowNumbers; @api cb_showRowNumbers; @api diff --git a/flow_screen_components/datatable/force-app/main/default/lwc/ers_datatableUtils/ers_datatableUtils.js b/flow_screen_components/datatable/force-app/main/default/lwc/ers_datatableUtils/ers_datatableUtils.js index 6c333125a..848eb4de0 100644 --- a/flow_screen_components/datatable/force-app/main/default/lwc/ers_datatableUtils/ers_datatableUtils.js +++ b/flow_screen_components/datatable/force-app/main/default/lwc/ers_datatableUtils/ers_datatableUtils.js @@ -33,7 +33,7 @@ console.log("DATATABLE: isCommunity, isFlowBuilder:", isCommunity, isFlowBuilder const getConstants = () => { return { - VERSION_NUMBER : '4.2.2', // Current Source Code Version # + VERSION_NUMBER : '4.3.0', // Current Source Code Version # MAXROWCOUNT : 2000, // Limit the total number of records to be handled by this component ROUNDWIDTH : 5, // Used to round off the column widths during Config Mode to nearest value WIZROWCOUNT : 6, // Number of records to display in the Column Wizard datatable @@ -50,8 +50,8 @@ const getConstants = () => { REMOVE_ROW_ICON : 'utility:close', // Default Icon for the Remove Row button REMOVE_ROW_COLOR : 'remove-icon', // Default Color for the Remove Row button REMOVE_ROW_SIDE : 'Right', // Default Side for the Remove Row button - SHOW_DEBUG_INFO : true, // Set to true to show sensitive debug info in the console and debug logs - DEBUG_INFO_PREFIX : 'DATATABLE: ' // Prefix to be used for debug info in the console + DEBUG_INFO_PREFIX : 'DATATABLE: ', // Prefix to be used for debug info in the console + SHOW_DEBUG_INFO : false // Set to true to show sensitive debug info in the console and debug logs } } diff --git a/flow_screen_components/datatable/sfdx-project.json b/flow_screen_components/datatable/sfdx-project.json index d23cc608d..c038d40de 100644 --- a/flow_screen_components/datatable/sfdx-project.json +++ b/flow_screen_components/datatable/sfdx-project.json @@ -92,6 +92,7 @@ "datatable@4.1.6": "04t5G000004XZk9QAG", "datatable@4.1.7": "04t5G000004XZknQAG", "datatable@4.2.0": "04t5G000004XZlHQAW", - "datatable@4.2.1": "04t5G000004fz7wQAA" + "datatable@4.2.1": "04t5G000004fz7wQAA", + "datatable@4.3.0": "04t5G000004fz81QAA" } } \ No newline at end of file