Activity Forums Salesforce® Discussions What is the Difference between data and columns fields in Salesforce lightning datatable?

  • shradha jain

    August 14, 2018 at 8:18 am

    Hello Anurag,

    In the column field of datatable we define the column label,fieldname and type.The columns are set using column field.

    In the Data field of datatable , the data returned from controller is set.


Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos