Untitled

 avatar
unknown
plain_text
3 years ago
852 B
2
Indexable
<template>
    <lightning-card title="Data Table with Pagination">
        <template if:true={showTable}>
            <c-paginator records={fees} 
                        total-records={fees.length} 
                        show-search-box="true" 
                        onpaginatorchange={handlePaginatorChange}>
            </c-paginator>
            <lightning-datatable key-field="Id" 
                                data={recordsToDisplay} 
                                columns={columns}
                                hide-checkbox-column
                                show-row-number-column
                                row-number-offset={rowNumberOffset}>
            </lightning-datatable>
        </template>
        <template if:false={showTable}>
                sorry amigo
        </template>

    </lightning-card>
</template>
Editor is loading...