Skip to main content

Posts

Showing posts with the label datatable

How to apply filters on lightning datatable

lightning:datatable <div style="height: 300px">         <lightning:datatable                 keyField="id"                 data="{! v.data }"                 columns="{! v.columns }"                 hideCheckboxColumn="true"/>     </div> directly we can not apply filters on lightning data table,  - create filters form - submit filters data in where query - get result data  - submit result data to lightning:datatable