@@ -61,22 +61,22 @@ Custom Data types (the component extendedDatatable extends lightning:datatable)
6161#### Single override
6262
6363``` yml
64- { ' AccountId' : { ' label': ' Account Record Id', ' type': 'Id' } }
64+ { " AccountId" : { " label": " Account Record Id", " type": "Id" } }
6565```
6666
6767#### Multiple override
6868
6969``` yml
7070{
71- ' LastName ' : { ' label': ' Surname', ' type': ' text' },
72- ' AccountId ' : { ' label': ' Account Record Id', ' type': 'Id' }
71+ " LastName " : { " label": " Surname", " type": " text" },
72+ " AccountId " : { " label": " Account Record Id", " type": "Id" }
7373}
7474```
7575
7676#### Related Field Customized
7777
7878``` yml
79- { ' Account.Name' : { ' label': ' Account Name', ' type': ' text' } }
79+ { " Account.Name" : { " label": " Account Name", " type": " text" } }
8080```
8181
8282#### Add a hyperlink to navigate to the record
@@ -85,14 +85,14 @@ The example enables redirection to the account when we click on the account name
8585
8686``` yml
8787{
88- ' Account.Name ' :
88+ " Account.Name " :
8989 {
90- ' label ' : ' Account Name' ,
91- ' type ' : ' url' ,
92- ' typeAttributes ' :
90+ " label " : " Account Name" ,
91+ " type " : " url" ,
92+ " typeAttributes " :
9393 {
94- ' label ' :
95- { ' fieldName': ' Account.Name', ' recId': ' AccountId' }
94+ " label " :
95+ { " fieldName": " Account.Name", " recId": " AccountId" }
9696 }
9797 }
9898}
@@ -106,15 +106,15 @@ To configure buttons(variant are the style of a button) see the documentation he
106106#### Single button
107107
108108``` yml
109- [{ ' name' : ' New' , ' label': ' New', ' variant': ' neutral' }]
109+ [{ " name" : " New" , " label": " New", " variant": " neutral" }]
110110` ` `
111111
112112#### Multiple buttons
113113
114114` ` ` yml
115115[
116- { ' name': ' New', ' label': ' New', ' variant': ' neutral' },
117- { ' name': ' DeleteAll', ' label': ' Delete all', ' variant': ' destructive' }
116+ { " name": " New", " label": " New", " variant": " neutral" },
117+ { " name": " DeleteAll", " label": " Delete all", " variant": " destructive" }
118118]
119119```
120120
0 commit comments