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

Column Hide Toggle in Responsive Layout#1747

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -234,7 +234,7 @@ const ResponsiveLayout = (props: ResponsiveLayoutProps) => {
{columns.map((column) => {
const id = String(column.id);
const childDispatch = wrapDispatch(wrapDispatch(dispatch, "containers"), id);
if (!containers[id]) return null;
if (!containers[id] || column.hidden) return null;
const containerProps = containers[id].children;

// Use the actual minWidth from column configuration instead of calculated width
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -30,6 +30,7 @@ import {
Option,
WidthIcon,
ImageCompIcon,
CloseEyeIcon,
} from "lowcoder-design";
import styled from "styled-components";
import { lastValueIfEqual } from "util/objectUtils";
Expand DownExpand Up@@ -608,6 +609,7 @@ const ColumnOption = new MultiCompBuilder(
radius: withDefault(RadiusControl, ""),
margin: withDefault(StringControl, ""),
padding: withDefault(StringControl, ""),
hidden: withDefault(BoolCodeControl, false),
},
(props) => props
)
Expand DownExpand Up@@ -644,6 +646,10 @@ const ColumnOption = new MultiCompBuilder(
preInputNode: <StyledIcon as={CompressIcon} title="" />,
placeholder: '3px',
})}
{children.hidden.propertyView({
label: trans('style.hideColumn'),
preInputNode: <StyledIcon as={CloseEyeIcon} title="" />
})}
</StyledContent>
))
.build();
Expand Down
1 change: 1 addition & 0 deletionstranslations/locales/en.js
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -589,6 +589,7 @@ export const en = {
"chartBorderColor": "Border Color",
"chartTextColor": "Text Color",
"detailSize": "Detail Size",
"hideColumn": "Hide Column",

"radiusTip": "Specifies the radius of the element's corners. Example: 5px, 50%, or 1em.",
"gapTip": "Specifies the gap between rows and columns in a grid or flex container. Example: 10px, 1rem, or 5%.",
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp