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: {
643643 ? COLUMN_CHILDREN_KEY
644644 : "OB_CHILDREN_KEY_PLACEHOLDER" ,
645645 fixed : "left" ,
646+ onExpand : ( expanded ) => {
647+ if ( expanded ) handleChangeEvent ( 'rowExpand' )
648+ }
646649 } }
647650 rowColor = { compChildren . rowColor . getView ( ) as any }
648651 { ...compChildren . selection . getView ( ) ( onEvent ) }
Original file line number Diff line number Diff line change @@ -69,6 +69,11 @@ export const TableEventOptions = [
6969 value : "rowClick" ,
7070 description : trans ( "table.rowClick" ) ,
7171 } ,
72+ {
73+ label : trans ( "table.rowExpand" ) ,
74+ value : "rowExpand" ,
75+ description : trans ( "table.rowExpand" ) ,
76+ } ,
7277 {
7378 label : trans ( "table.filterChange" ) ,
7479 value : "filterChange" ,
Original file line number Diff line number Diff line change @@ -1266,6 +1266,7 @@ export const en = {
12661266 cancelChanges : "Cancel changes" ,
12671267 rowSelectChange : "Row select change" ,
12681268 rowClick : "Row click" ,
1269+ rowExpand : "Row expand" ,
12691270 filterChange : "Filter change" ,
12701271 sortChange : "Sort change" ,
12711272 pageChange : "Page change" ,
Original file line number Diff line number Diff line change @@ -1197,6 +1197,7 @@ table: {
11971197 cancelChanges : "取消更改" ,
11981198 rowSelectChange : "行选中变化" ,
11991199 rowClick : "行点击" ,
1200+ rowExpand : "行展开" ,
12001201 filterChange : "筛选变化" ,
12011202 sortChange : "排序变化" ,
12021203 pageChange : "分页变化" ,
You can’t perform that action at this time.
0 commit comments