Skip to content

Instantly share code, notes, and snippets.

@sakthivelsfdc
Created July 10, 2019 10:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sakthivelsfdc/e28cb754aea8e1434fb3a1eb4bdd146b to your computer and use it in GitHub Desktop.
Save sakthivelsfdc/e28cb754aea8e1434fb3a1eb4bdd146b to your computer and use it in GitHub Desktop.
<template>
<lightning-card title = "Search Accounts" icon-name = "custom:custom10">
<div class = "slds-m-around_medium">
<lightning-input type="search" onchange={findAccountResult} class = "slds-m-bottom_small" label = "Search"> </lightning-input>
<lightning-datatable key-field="Id" data={accountList} columns={columnList} hide-checkbox-column="true" show-row-number-column="true">
</lightning-datatable>
<template if:true= {noRecordsFound}>
--No Account Records Found--
</template>
</div>
</lightning-card>
</template>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment