How to hide vertical scrollbar in lwc lightning datatable. I have enabled lazy loading. I tried with height, but when there are less records, vertical scrollbar is not coming. But it didnt solve the issue of hiding it when there are more records.
Please suggest any solution for this. Because this is standard one, its getting hard to enhance.
<div style="overflow: scroll-hidden; height:300px">
<template if:true={loadedData}>
<c-sld-lightning-datatable scroll-hidden key-field="account" data={acclist} columns={columns}
enable-infinite-loading={isLoaded}
onloadmore={loadMoreData}
sorted-by={sortBy}
onchildexpand={childrowexpand}
onchildcollapse={childcollapse}
default-sort-direction={defaultSortDirection}
sorted-direction={sortDirection}
onsort={handleSortdata}
hide-checkbox-column="true"
onrowaction={moreRowAction}
>
</c-sld-lightning-datatable>
</template>
</div>