feat: Add extra columns support with configurable column widths and date formats #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
π Extra Columns Support Feature
μ΄ PRμ MaTeMaTuK/gantt-task-react PR #274μ "Add extra column support" κΈ°λ₯μ νκ΅μ΄ λ²μ μ μ μ©ν κ²μ λλ€.
β¨ μ£Όμ κΈ°λ₯
π Extra Columns
π¨ μ»¬λΌ λλΉ μ€μ
nameColumnWidth: μ΄λ¦ μ»¬λΌ λλΉ μ€μ fromColumnWidth: μμμΌ μ»¬λΌ λλΉ μ€μ toColumnWidth: μ’ λ£μΌ μ»¬λΌ λλΉ μ€μ π λ μ§ νμ μ ν
"locale" | "iso8601"π§ μ¬μ© μμ
π λ³κ²½λ νμΌλ€
Core Files
src/types/public-types.ts: ExtraColumn, DateFormat νμ μΆκ°src/components/gantt/gantt.tsx: μλ‘μ΄ props μ§μsrc/components/task-list/task-list-header.tsx: ν€λ μ»¬λΌ μΆκ°src/components/task-list/task-list-table.tsx: ν μ΄λΈ μ»¬λΌ λ° λ μ§ νμ μ§μExample Files
example/src/ExtraColumnsApp.tsx: μλ‘μ΄ κΈ°λ₯ λ°λͺ¨ μ±example/src/extra-columns-helper.tsx: μμ λ°μ΄ν° λ° μ€μ example/src/App.tsx: ExtraColumnsApp μΆκ°example/src/index.css: λ±μ§ μ€νμΌ μΆκ°β ν μ€νΈ
@jeonghan/gantt-task-react-19-korean@1.1.0)π¦ npm ν¨ν€μ§
μ΄ κΈ°λ₯μΌλ‘ Gantt Chartμμ λμ± νλΆν μ 보λ₯Ό νμν μ μκ² λμμ΅λλ€! π