Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

column width 를 50 이하로 낮출 수 있나요? #2016

Open
dpaaaa opened this issue Jan 23, 2024 · 1 comment
Open

column width 를 50 이하로 낮출 수 있나요? #2016

dpaaaa opened this issue Jan 23, 2024 · 1 comment
Labels

Comments

@dpaaaa
Copy link

dpaaaa commented Jan 23, 2024

Summary
column width을 50 이하로 낮추고싶어요

Version
version 4.21.0

Additional context
아래 코드로 그리드를 생성해보면 첫번째 컬럼도 50px 으로 생성이 됩니다.

grid = new tui.Grid({
el: document.getElementById('grid'),
columns: [
    {header: ' ',width: 10},
    {header: '제목',width: 100},
    {header: '내용',width: 200}
]
});

image

그리드가 생성된 코드를 보면 아래처럼 되는데요
<colgroup>
    <col data-column-name="" style="width: 50px;">
    <col data-column-name="" style="width: 100px;">
    <col data-column-name="" style="width: 200px;">

최저 width 가 50인가요? 그 이하로 줄일수는 없을까요?

@dpaaaa
Copy link
Author

dpaaaa commented Jan 25, 2024

해결했습니다 감사합니다

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant