Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1e1e481

Browse files
author
FalkWolsky
committed
Adapting Table Properties Display
1 parent7f157db commit1e1e481

File tree

2 files changed

+25
-21
lines changed

2 files changed

+25
-21
lines changed

‎client/packages/lowcoder/src/comps/comps/tableComp/tablePropertyView.tsx

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -489,21 +489,40 @@ export function compTablePropertyView<T extends MultiBaseComp<TableChildrenType>
489489
<>
490490
<Sectionname={sectionNames.interaction}>
491491
{comp.children.onEvent.getPropertyView()}
492-
{comp.children.selection.getPropertyView()}
493492
{hiddenPropertyView(comp.children)}
494493
{loadingPropertyView(comp.children)}
494+
{comp.children.showDataLoadSpinner.propertyView({
495+
label:trans("table.showDataLoadSpinner"),
496+
})}
497+
{comp.children.selection.getPropertyView()}
498+
{comp.children.editModeClicks.propertyView({
499+
label:trans("table.editMode"),
500+
radioButton:true,
501+
})}
502+
{comp.children.searchText.propertyView({
503+
label:trans("table.searchText"),
504+
tooltip:trans("table.searchTextTooltip"),
505+
placeholder:"{{input1.value}}",
506+
})}
495507
</Section>
496508

497509
<Sectionname={"Summary"}>
498510
{comp.children.showSummary.propertyView({
499511
label:trans("table.showSummary")
500512
})}
501-
{comp.children.summaryRows.propertyView({
513+
{comp.children.showSummary.getView()&&
514+
comp.children.summaryRows.propertyView({
502515
label:trans("table.totalSummaryRows"),
503516
radioButton:true,
504517
})}
505518
</Section>
506519

520+
<Sectionname={"Insert Rows"}>
521+
{comp.children.inlineAddNewRow.propertyView({
522+
label:trans("table.inlineAddNewRow")
523+
})}
524+
</Section>
525+
507526
<Sectionname={trans("prop.toolbar")}>
508527
{comp.children.toolbar.getPropertyView()}
509528
</Section>
@@ -550,27 +569,12 @@ export function compTablePropertyView<T extends MultiBaseComp<TableChildrenType>
550569
<>
551570
<Sectionname={sectionNames.advanced}>
552571
{comp.children.expansion.getPropertyView()}
553-
{comp.children.inlineAddNewRow.propertyView({
554-
label:trans("table.inlineAddNewRow")
555-
})}
556-
{comp.children.showDataLoadSpinner.propertyView({
557-
label:trans("table.showDataLoadSpinner"),
558-
})}
559572
{comp.children.dynamicColumn.propertyView({label:trans("table.dynamicColumn")})}
560573
{comp.children.dynamicColumn.getView()&&
561574
comp.children.dynamicColumnConfig.propertyView({
562575
label:trans("table.dynamicColumnConfig"),
563576
tooltip:trans("table.dynamicColumnConfigDesc"),
564577
})}
565-
{comp.children.editModeClicks.propertyView({
566-
label:trans("table.editMode"),
567-
radioButton:true,
568-
})}
569-
{comp.children.searchText.propertyView({
570-
label:trans("table.searchText"),
571-
tooltip:trans("table.searchTextTooltip"),
572-
placeholder:"{{input1.value}}",
573-
})}
574578
</Section>
575579
</>
576580
)}

‎client/packages/lowcoder/src/i18n/locales/en.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1854,7 +1854,7 @@ export const en = {
18541854
"columnSeparatorTooltip":"Column Separator (\"delimiter\") in downloaded CSV file. \n\nRecommendations:\n- Comma (,)\n- Semicolon (;)\n- Pipe (|)\n- Tab (\\t)",
18551855
"columnSetting":"Show Columns Visibility Button",
18561856
"searchText":"Search Text",
1857-
"searchTextTooltip":"Search and Filter the DataPresented in the Table",
1857+
"searchTextTooltip":"Search and Filter the Data, which is currentlyPresented in the Table. This is a frontend-only Search and Does Not Affect the Data Source Query.)",
18581858
"showQuickJumper":"Show Quick Jumper",
18591859
"hideOnSinglePage":"Hide on Single Page",
18601860
"showSizeChanger":"Show Size Changer Button",
@@ -1999,9 +1999,9 @@ export const en = {
19991999
"allColumn":"All",
20002000
"visibleColumn":"Visible",
20012001
"emptyColumns":"No Columns Are Currently Visible",
2002-
"showSummary":"Show Summary Row",
2002+
"showSummary":"Show Summary Row(s)",
20032003
"totalSummaryRows":"Total Rows",
2004-
"inlineAddNewRow":"Inline Add New Row",
2004+
"inlineAddNewRow":"Inline Add New Row(s)",
20052005
"editMode":"Edit Mode",
20062006
"singleClick":"Single Click",
20072007
"doubleClick":"Double Click",
@@ -2142,7 +2142,7 @@ export const en = {
21422142
"single":"Single",
21432143
"multiple":"Multiple",
21442144
"close":"Close",
2145-
"mode":"Select Mode"
2145+
"mode":"RowSelect Mode"
21462146
},
21472147
"container":{
21482148
"title":"Displayed Container Title",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp