File tree Expand file tree Collapse file tree 4 files changed +10
-0
lines changed
client/packages/lowcoder/src Expand file tree Collapse file tree 4 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -643,6 +643,9 @@ export function TableCompView(props: {
643
643
? COLUMN_CHILDREN_KEY
644
644
: "OB_CHILDREN_KEY_PLACEHOLDER" ,
645
645
fixed : "left" ,
646
+ onExpand : ( expanded ) => {
647
+ if ( expanded ) handleChangeEvent ( 'rowExpand' )
648
+ }
646
649
} }
647
650
rowColor = { compChildren . rowColor . getView ( ) as any }
648
651
{ ...compChildren . selection . getView ( ) ( onEvent ) }
Original file line number Diff line number Diff line change @@ -69,6 +69,11 @@ export const TableEventOptions = [
69
69
value : "rowClick" ,
70
70
description : trans ( "table.rowClick" ) ,
71
71
} ,
72
+ {
73
+ label : trans ( "table.rowExpand" ) ,
74
+ value : "rowExpand" ,
75
+ description : trans ( "table.rowExpand" ) ,
76
+ } ,
72
77
{
73
78
label : trans ( "table.filterChange" ) ,
74
79
value : "filterChange" ,
Original file line number Diff line number Diff line change @@ -1266,6 +1266,7 @@ export const en = {
1266
1266
cancelChanges : "Cancel changes" ,
1267
1267
rowSelectChange : "Row select change" ,
1268
1268
rowClick : "Row click" ,
1269
+ rowExpand : "Row expand" ,
1269
1270
filterChange : "Filter change" ,
1270
1271
sortChange : "Sort change" ,
1271
1272
pageChange : "Page change" ,
Original file line number Diff line number Diff line change @@ -1197,6 +1197,7 @@ table: {
1197
1197
cancelChanges : "取消更改" ,
1198
1198
rowSelectChange : "行选中变化" ,
1199
1199
rowClick : "行点击" ,
1200
+ rowExpand : "行展开" ,
1200
1201
filterChange : "筛选变化" ,
1201
1202
sortChange : "排序变化" ,
1202
1203
pageChange : "分页变化" ,
You can’t perform that action at this time.
0 commit comments