I have a PR that has 3 things. Only two probably would want to be merged into your code.
#30
- Add a toggle that lets you change whether you show empty table if there are no records or the no records found message. Our users prefer the empty table. Toggle defaults to current behavior
- Modify test case to set contact first name. Our org requires a first name and tests weren't passing without this change
- Removed tableData as an output. Using the datatable in a flow where the save button was enabled for the component gave the error below and I wasn't sure how to solve.
The Lightning Component c:odDatatable generated invalid output for field tableData. Contact your administrator with these details: Flow encountered an error when processing and converting between data types.