Lightning Datatable component with client side search
1:18 PM
In this article we will look at implementing a simple lightning component that displays a list of contacts in a table. We will add a simple client side search box which searches all columns in the table.
Demo Link: https://forcetree-developer-edition.na147.force.com/s/datatabledemo
Demo Link: https://forcetree-developer-edition.na147.force.com/s/datatabledemo
6 comments
How do one implement the same functionality in LWC? esp the .js component file.
ReplyDeleteHi, The blog is really useful. Thanks
ReplyDeleteHow can I preserve the checkbox state during and after the search.
Example: say, I have selected 4 records on the page and type something in searchbox and exit the search, the selected boxes will disappear..
Hi Honey! Did find the solution?
DeleteHi, for the apex class, how do we create the test class to get more 75% coverage?
ReplyDeleteThis helped me a tremendous amount. Thank you thank you
ReplyDeleteHi thanks for the code it works fine and it helped me a lot but when you backspace it does not filter backwards can you suggest code for that
ReplyDelete