Activity Forums Salesforce® Discussions What is KeyField in Lightning Data Table in Salesforce?

  • What is KeyField in Lightning Data Table in Salesforce?

    Posted by Deepak on March 25, 2020 at 5:55 pm

    What is KeyField in Lightning Data Table in Salesforce?

    Anjali replied 4 years ago 4 Members · 3 Replies
  • 3 Replies
  • Ratnesh

    Member
    March 26, 2020 at 1:25 pm

    The key field attribute is required to hold a unique row id. It associates each row with a unique identifier. You should always define keyField=”Id” which means row id will be same as record id and it will make easier to update, view and edit records

  • Aditya

    Member
    March 30, 2020 at 1:20 pm

    The It attribute is needed to store unique row id. It associates each row with a unique identifier. You should always define keyField=”Id” which means row id will be the same as record id and it will make it easier to customize, view and edit records.

  • Anjali

    Member
    March 30, 2020 at 1:43 pm

    It holds the unique row id for the data table.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos