It’s been a few months, but I hope it has been worth the wait for some of the fixes and enhancements you’ll see in the latest version of Datatable.
I squashed a couple of bugs including:
- An invalid format error when entering a filter value for a Name column when it was being displayed as a hyperlink to the record
- Occasional Daylight Savings Time issues with Time fields
A few of the minor enhancements are:
- A spinner rather than an empty table message will be shown while records are being processed
- A Clear All Filters button will be displayed when any column filters are applied
- This avoids the issue of getting stuck when a filter value causes an empty datatable
- The button can still be disabled by selecting the Hide Clear Selection/Filter Buttons option in the Table Behavior section
- When the number of displayed records are filtered and/or reduced based on a search term, the header will show both the filtered count and the total record count
- I switched the Column Wizard setup flow to be loaded by a LWC component rather than an Aura component
- This provides cleaner exit behavior and eliminates conflicts with development mode and clickjack protection
- NOTE: You do now need to activate the Datatable Configuration Wizard flow after installing this version
- The maximum displayed record count has been increased from 1000 to 2000 records
The two big enahancements are the addition of an optional Search Bar and the ability to set a Column Width as Fixed or Floating.
The Datatable will simultaneously support both a Search term as well as individual Column Filters.
With the new Flexible Column Width enhancement, you can now fix some columns to be wide or narrow and allow the remaining columns to flex their width to expand or contract to fill the available space for the Datatable.
Before this option, if the column widths were too wide for the screen, the user would have to horizontally scroll back and forth or manually change column widths to see the full Datatable.
Now, the Column Wizard lets you select all or none of the columns to flex or you can specify individual columns to have their width flexed to fit the screen.
Check out the updated documentation and get the latest installation links here.