You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Enter Icon Name | String | provide slds icon name |`standard:account`|
30
-
| Enter Title | String | provide table title | LWC Table |
31
-
| Enter Object API Name | String| provide object custom or standard API name| Account |
32
-
| Enter Columns JSON | String | { `fieldName`:api name,`label`:col label,`type`:text,number,date }. **Note** : for related field it should be concat with . i.e : Account.Name for contact | See below **Column JSON Example**
33
-
Enter Related field API Name| String | Enter related field api name | Example AccountId for contact when component is on account layout.
34
-
Enter WHERE clause | String | provide aditional filters | Example `LastName like '%s' AND Account.Name like '%t'`
35
-
| Show the number of record | Boolean | append the number of records in the title | checked(true) OR not checked(false) |
| Enter Icon Name |:x:| String | provide slds icon name |`standard:account`|
33
+
| Enter Title |:heavy_check_mark:| String | provide table title | LWC Table |
34
+
| Enter Object API Name |:heavy_check_mark:|String| provide object custom or standard API name| Account |
35
+
| Enter Columns JSON | :heavy_check_mark: | String | { `fieldName`:api name,`label`:col label,`type`:text,number,date }. **Note** : for related field it should be concat with . i.e : Account.Name for contact | See below **Column JSON Example**
36
+
Enter Related field API Name | :x:| String | Enter related field api name | Example AccountId for contact when component is on account layout.
37
+
Enter WHERE clause | :x: | String | provide aditional filters | Example `LastName like '%s' AND Account.Name like '%t'`
38
+
| Show the number of record |:x:| Boolean | append the number of records in the title | checked(true) OR not checked(false) |
36
39
37
40
## Columns JSON Example
38
41
```yaml
@@ -58,6 +61,53 @@ Enter WHERE clause | String | provide aditional filters | Example `LastName like
58
61
"type": "text"
59
62
}]
60
63
```
64
+
## Buttons configuration (for developers, accessible in the component and from parent component)
65
+
66
+
### Call apex or javascript method
67
+
For a button that is going to call callApexFromButton, the properties must be :
68
+
- callApexFromButton: true
69
+
70
+
### Fire event to parent component
71
+
For a button that is going to fire an event, the properties must be :
72
+
- callApex: false
73
+
- needSelectedRows : can be true if you need to send selected rows to parent component
0 commit comments