Skip to main content
Hi All,

I am displaying the list of records using datatable but values not displaying correctly under column name. 

Image:

lightning Datatable column issue

Adv Thnx,

Regards,

VSK98
3 answers
  1. Nov 25, 2018, 3:33 PM
    Hi VSK,

    I will suggest the below two solution  to solve your issue:

    you can use which one is suit for you:

    1. Change the data type : 

    use the datatype as text don't go for number or integer.

     {label: 'Post Code', fieldName: 'BillingPostalCode', type: 'text'}

    2. Just add the below style in your Component:

    .THIS .slds-grid_align-end{

            justify-content: flex-start !important;

    }

    Can you please Let me know if it helps or not!!!

    If it helps don't forget to mark this as a best answer!!!

    Thanks,

    Maharajan.C
0/9000