ericrsmith35 / DatatableV2

28 stars 24 forks source link

Have handleClearSelection Clear outputSelectedRowsString Also #46

Closed jeffolmstead closed 3 years ago

jeffolmstead commented 3 years ago

Currently, handleClearSelection in datatableV2.js only clears out the outputSelectedRows (e.g. sets to empty array). However, I utilize the string output so could we also add this line in:

this.outputSelectedRowsString = "";

This changed worked in my environment where I am not using strongly typed objects. Let me know if you have any questions.

ericrsmith35 commented 3 years ago

Good feedback. I will make the changes.

ericrsmith35 commented 3 years ago

I have included this update in the current version (3.1.1) of the Datatable component.