Adding View All button in lightning:datatable
Sample Code: Component: <aura:component implements="force:appHostable" controller="AccountListController"> <aura:attribute type="Account[]" name="acctList"/> <aura:attribute name="mycolumns" type="List"/> <aura:attribute name="viewAllBool" ....