Skip to content

Commit

Permalink
Merge pull request #1421 from alexed1/datatable_4.1.4
Browse files Browse the repository at this point in the history
Datatable 4.1.4
  • Loading branch information
alexed1 committed Jul 5, 2023
2 parents cb92f0a + 346cfb9 commit 02fd7c6
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 9 deletions.
17 changes: 12 additions & 5 deletions flow_screen_components/datatable/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ https://unofficialsf.com/flow-action-and-screen-component-basepacks/

---
**Install Datatable**
[Version 4.1.1 (Production or Developer)](https://login.salesforce.com/packaging/installPackage.apexp?p0=04t5G000004J7LzQAK)
[Version 4.1.1 (Sandbox)](https://test.salesforce.com/packaging/installPackage.apexp?p0=04t5G000004J7LzQAK)
[Version 4.1.4 (Production or Developer)](https://login.salesforce.com/packaging/installPackage.apexp?p0=04t5G000004J7MxQAK)
[Version 4.1.4 (Sandbox)](https://test.salesforce.com/packaging/installPackage.apexp?p0=04t5G000004J7MxQAK)

---
**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.**
Expand All @@ -72,14 +72,21 @@ A Permission Set (**USF Flow Screen Component - Datatable**) is included with th
---
# Release Notes

## 06/14/23 - Eric Smith - Version 4.1.4
**Bug Fixes:**
- Fixed issue with tables showing as empty if row selection was disabled

## 06/13/23 - Eric Smith - Version 4.1.3
**Bug Fixes:**
- Fixed issue where Datatables fed by DataFetcher were defaulting to single row selection only

## 06/04/23 - Eric Smith - Version 4.1.1
**Updates:**
- Added reactivity for Apex-Defind objects (Pre-Selected Rows are not reactive)
- Made the placeholder for 'Enter search term ...' a translatable label
- Added reactivity for Apex-Defind objects (Pre-Selected Rows are not reactive)
- Made the placeholder for 'Enter search term ...' a translatable label

**Bug Fixes:**
- Fixed reactivity for DataFetcher on initial load of screen
- Fixed reactivity for DataFetcher on initial load of screen

## 05/21/23 - Eric Smith - Version 4.1.0
**Updates:**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,9 @@ export default class Datatable extends LightningElement {
// Other Datatable attributes
@api sortedBy = '';
@api sortDirection = '';
@api maxRowSelection;
@api get maxRowSelection() {
return (this.singleRowSelection) ? 1 : this._tableData.length + 1; // If maxRowSelection=1 then Radio Buttons are used
}
@api errors;
@api columnWidthValues;
@track columns = [];
Expand Down Expand Up @@ -792,7 +794,6 @@ export default class Datatable extends LightningElement {
if (this._tableData) {

// Set other initial values here
this.maxRowSelection = (this.singleRowSelection) ? 1 : this._tableData.length + 1; // If maxRowSelection=1 then Radio Buttons are used
this.wizColumnFields = this.columnFields;

console.log('Processing Datatable');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ console.log("DATATABLE isCommunity, isFlowBuilder:", isCommunity, isFlowBuilder)

const getConstants = () => {
return {
VERSION_NUMBER : '4.1.1', // Current Source Code Version #
VERSION_NUMBER : '4.1.4', // 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
Expand Down
5 changes: 4 additions & 1 deletion flow_screen_components/datatable/sfdx-project.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@
"datatable@4.0.11-0": "04t5G0000043wpmQAA",
"datatable@4.0.12-0": "04t5G0000043wt5QAA",
"datatable@4.1.0": "04t5G000004J7LQQA0",
"datatable@4.1.1": "04t5G000004J7LzQAK"
"datatable@4.1.1": "04t5G000004J7LzQAK",
"datatable@4.1.2": "04t5G000004J7MnQAK",
"datatable@4.1.3": "04t5G000004J7MsQAK",
"datatable@4.1.4": "04t5G000004J7MxQAK"
}
}

0 comments on commit 02fd7c6

Please sign in to comment.