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
Copy file name to clipboardExpand all lines: src/components/table/README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -890,6 +890,7 @@ The slot's scope variable (`data` in the above sample) will have the following p
890
890
|`item`| Object | The entire raw record data (i.e. `items[index]`) for this row (before any formatter is applied) |
891
891
|`value`| Any | The value for this key in the record (`null` or `undefined` if a virtual column), or the output of the field's [`formatter` function](#formatter-callback)|
892
892
|`unformatted`| Any | The raw value for this key in the item record (`null` or `undefined` if a virtual column), before being passed to the field's [`formatter` function](#formatter-callback)|
893
+
|`field`| Object | The field's normalized field definition object |
893
894
|`detailsShowing`| Boolean | Will be `true` if the row's `row-details` scoped slot is visible. See section [Row details support](#row-details-support) below for additional information |
894
895
|`toggleDetails`| Function | Can be called to toggle the visibility of the rows `row-details` scoped slot. See section [Row details support](#row-details-support) below for additional information |
895
896
|`rowSelected`| Boolean | Will be `true` if the row has been selected. See section [Row select support](#row-select-support) for additional information |
Copy file name to clipboardExpand all lines: src/components/table/package.json
+36-16Lines changed: 36 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -518,6 +518,11 @@
518
518
"prop": "unformatted",
519
519
"description": "The raw value for this key in the item record (null or undefined if a virtual column), before being passed to the field's formatter function"
520
520
},
521
+
{
522
+
"prop": "field",
523
+
"type": "Object",
524
+
"description": "The field's normalized definition object (from the fields prop)"
525
+
},
521
526
{
522
527
"prop": "detailsShowing",
523
528
"type": "Boolean",
@@ -557,6 +562,11 @@
557
562
"prop": "unformatted",
558
563
"description": "The raw value for this key in the item record (null or undefined if a virtual column), before being passed to the field's formatter function"
559
564
},
565
+
{
566
+
"prop": "field",
567
+
"type": "Object",
568
+
"description": "The field's normalized definition object (from the fields prop)"
569
+
},
560
570
{
561
571
"prop": "detailsShowing",
562
572
"type": "Boolean",
@@ -587,7 +597,7 @@
587
597
{
588
598
"prop": "field",
589
599
"type": "Object",
590
-
"description": "the field's definition object (from the fields prop)"
600
+
"description": "The field's normalized definition object (from the fields prop)"
591
601
},
592
602
{
593
603
"prop": "label",
@@ -623,7 +633,7 @@
623
633
{
624
634
"prop": "field",
625
635
"type": "Object",
626
-
"description": "the field's definition object (from the fields prop)"
636
+
"description": "The field's normalized definition object (from the fields prop)"
627
637
},
628
638
{
629
639
"prop": "label",
@@ -660,7 +670,7 @@
660
670
{
661
671
"prop": "field",
662
672
"type": "Object",
663
-
"description": "the field's definition object (from the fields prop)"
673
+
"description": "The field's normalized definition object (from the fields prop)"
664
674
},
665
675
{
666
676
"prop": "label",
@@ -691,7 +701,7 @@
691
701
{
692
702
"prop": "field",
693
703
"type": "Object",
694
-
"description": "the field's definition object (from the fields prop)"
704
+
"description": "The field's normalized definition object (from the fields prop)"
695
705
},
696
706
{
697
707
"prop": "label",
@@ -721,7 +731,7 @@
721
731
{
722
732
"prop": "columns",
723
733
"type": "Number",
724
-
"description": "the number of columns in the table"
734
+
"description": "The number of columns in the table"
725
735
},
726
736
{
727
737
"prop": "fields",
@@ -839,7 +849,7 @@
839
849
{
840
850
"prop": "columns",
841
851
"type": "Number",
842
-
"description": "the number of columns in the table"
852
+
"description": "The number of columns in the table"
843
853
},
844
854
{
845
855
"prop": "fields",
@@ -865,7 +875,7 @@
865
875
{
866
876
"prop": "columns",
867
877
"type": "Number",
868
-
"description": "the number of columns in the table"
878
+
"description": "The number of columns in the table"
869
879
},
870
880
{
871
881
"prop": "fields",
@@ -881,7 +891,7 @@
881
891
{
882
892
"prop": "columns",
883
893
"type": "Number",
884
-
"description": "the number of columns in the table"
894
+
"description": "The number of columns in the table"
885
895
},
886
896
{
887
897
"prop": "fields",
@@ -897,7 +907,7 @@
897
907
{
898
908
"prop": "columns",
899
909
"type": "Number",
900
-
"description": "the number of columns in the table"
910
+
"description": "The number of columns in the table"
901
911
},
902
912
{
903
913
"prop": "fields",
@@ -1224,6 +1234,11 @@
1224
1234
"prop": "unformatted",
1225
1235
"description": "The raw value for this key in the item record (null or undefined if a virtual column), before being passed to the field's formatter function"
1226
1236
},
1237
+
{
1238
+
"prop": "field",
1239
+
"type": "Object",
1240
+
"description": "The field's normalized definition object (from the fields prop)"
1241
+
},
1227
1242
{
1228
1243
"prop": "detailsShowing",
1229
1244
"type": "Boolean",
@@ -1258,6 +1273,11 @@
1258
1273
"prop": "unformatted",
1259
1274
"description": "The raw value for this key in the item record (null or undefined if a virtual column), before being passed to the field's formatter function"
1260
1275
},
1276
+
{
1277
+
"prop": "field",
1278
+
"type": "Object",
1279
+
"description": "The field's normalized definition object (from the fields prop)"
1280
+
},
1261
1281
{
1262
1282
"prop": "detailsShowing",
1263
1283
"type": "Boolean",
@@ -1283,7 +1303,7 @@
1283
1303
{
1284
1304
"prop": "field",
1285
1305
"type": "Object",
1286
-
"description": "the field's definition object (from the fields prop)"
1306
+
"description": "The field's normalized definition object (from the fields prop)"
1287
1307
},
1288
1308
{
1289
1309
"prop": "label",
@@ -1309,7 +1329,7 @@
1309
1329
{
1310
1330
"prop": "field",
1311
1331
"type": "Object",
1312
-
"description": "the field's definition object (from the fields prop)"
1332
+
"description": "The field's normalized definition object (from the fields prop)"
1313
1333
},
1314
1334
{
1315
1335
"prop": "label",
@@ -1336,7 +1356,7 @@
1336
1356
{
1337
1357
"prop": "field",
1338
1358
"type": "Object",
1339
-
"description": "the field's definition object (from the fields prop)"
1359
+
"description": "The field's normalized definition object (from the fields prop)"
1340
1360
},
1341
1361
{
1342
1362
"prop": "label",
@@ -1357,7 +1377,7 @@
1357
1377
{
1358
1378
"prop": "field",
1359
1379
"type": "Object",
1360
-
"description": "the field's definition object (from the fields prop)"
1380
+
"description": "The field's normalized definition object (from the fields prop)"
1361
1381
},
1362
1382
{
1363
1383
"prop": "label",
@@ -1377,7 +1397,7 @@
1377
1397
{
1378
1398
"prop": "columns",
1379
1399
"type": "Number",
1380
-
"description": "the number of columns in the table"
1400
+
"description": "The number of columns in the table"
1381
1401
},
1382
1402
{
1383
1403
"prop": "fields",
@@ -1419,7 +1439,7 @@
1419
1439
{
1420
1440
"prop": "columns",
1421
1441
"type": "Number",
1422
-
"description": "the number of columns in the table"
1442
+
"description": "The number of columns in the table"
1423
1443
},
1424
1444
{
1425
1445
"prop": "fields",
@@ -1445,7 +1465,7 @@
1445
1465
{
1446
1466
"prop": "columns",
1447
1467
"type": "Number",
1448
-
"description": "the number of columns in the table"
1468
+
"description": "The number of columns in the table"
0 commit comments