Activity Forums Salesforce® Discussions How to rename 'Checkbox' column in Salesforce Lightning 'datatable' component?

  • shradha jain

    Member
    July 27, 2018 at 7:57 am

    Hello Prachi,

    You can change the name of the checkbox in lightning through CSS. The CSS code is provided below:

    .THIS .slds-th__action_form span {

    display: none;

    }

    .THIS .slds-th__action_form:after{

    content: 'AAA'; //Change to text that you want

    }

    But then you will have to adjust/increase the width of the column to fit your text.

  • Parul

    Member
    September 28, 2018 at 5:11 pm

    The CSS code is provided below:

    .THIS .slds-th__action_form span {

    display: none;

    }

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos