diff --git a/docs/api/config/js_kanban_cardheight_config.md b/docs/api/config/js_kanban_cardheight_config.md index e65f1b4d..8a36d1be 100644 --- a/docs/api/config/js_kanban_cardheight_config.md +++ b/docs/api/config/js_kanban_cardheight_config.md @@ -18,6 +18,7 @@ cardHeight?: number; // px :::important If you combine the [`renderType: "lazy"`](api/config/js_kanban_rendertype_config.md) and [`scrollType: "default"`](api/config/js_kanban_scrolltype_config.md) settings, don't forget to specify a static height for cards via the `cardHeight` property. Unless you specify it, the cards will not be displayed. +When you use [`renderType: "lazy"`](api/config/js_kanban_rendertype_config.md) with [`scrollType: "column"`](api/config/js_kanban_scrolltype_config.md), you should also fix the height of cards via the `cardHeight` property. Although a variable height of cards is supported for this type of layout, it may not work in a stable manner with custom card content. ::: ### Example diff --git a/docs/api/config/js_kanban_rendertype_config.md b/docs/api/config/js_kanban_rendertype_config.md index ad4155d1..a11280bd 100644 --- a/docs/api/config/js_kanban_rendertype_config.md +++ b/docs/api/config/js_kanban_rendertype_config.md @@ -22,6 +22,7 @@ renderType?: "default" | "lazy"; :::important If you combine the `renderType: "lazy"` and [`scrollType: "default"`](api/config/js_kanban_scrolltype_config.md) settings, don't forget to specify a static height for cards via the [`cardHeight`](api/config/js_kanban_cardheight_config.md) property. Unless you specify it, the cards will not be displayed correctly. +When you use `renderType: "lazy"` with [`scrollType: "column"`](api/config/js_kanban_scrolltype_config.md), you should also fix the height of cards via the [`cardHeight`](api/config/js_kanban_cardheight_config.md) property. Although a variable height of cards is supported for this type of layout, it may not work in a stable manner with custom card content. ::: ### Default config diff --git a/docs/api/config/js_kanban_scrolltype_config.md b/docs/api/config/js_kanban_scrolltype_config.md index b2a063ed..70eb10d8 100644 --- a/docs/api/config/js_kanban_scrolltype_config.md +++ b/docs/api/config/js_kanban_scrolltype_config.md @@ -28,6 +28,7 @@ scrollType: "default" :::important If you combine the [`renderType: "lazy"`](api/config/js_kanban_rendertype_config.md) and `scrollType: "default"` settings, don't forget to specify a static height for cards via the [`cardHeight`](api/config/js_kanban_cardheight_config.md) property. Unless you specify it, the cards will not be displayed. +When you use [`renderType: "lazy"`](api/config/js_kanban_rendertype_config.md) with `scrollType: "column"`, you should also fix the height of cards via the [`cardHeight`](api/config/js_kanban_cardheight_config.md) property. Although a variable height of cards is supported for this type of layout, it may not work in a stable manner with custom card content. ::: ### Example diff --git a/i18n/de/docusaurus-plugin-content-docs/current/api/config/js_kanban_cardheight_config.md b/i18n/de/docusaurus-plugin-content-docs/current/api/config/js_kanban_cardheight_config.md index 9578fd29..f6911eac 100644 --- a/i18n/de/docusaurus-plugin-content-docs/current/api/config/js_kanban_cardheight_config.md +++ b/i18n/de/docusaurus-plugin-content-docs/current/api/config/js_kanban_cardheight_config.md @@ -18,6 +18,7 @@ cardHeight?: number; // px :::important Wenn Sie die Einstellungen [`renderType: "lazy"`](api/config/js_kanban_rendertype_config.md) und [`scrollType: "default"`](api/config/js_kanban_scrolltype_config.md) kombinieren, vergessen Sie nicht, eine statische Höhe für die Karten über die Eigenschaft `cardHeight` anzugeben. Wenn Sie dies nicht tun, werden die Karten nicht angezeigt. +Wenn Sie [`renderType: "lazy"`](api/config/js_kanban_rendertype_config.md) gemeinsam mit [`scrollType: "column"`](api/config/js_kanban_scrolltype_config.md) verwenden, sollten Sie ebenfalls die Höhe der Karten über die Eigenschaft `cardHeight` festlegen. Obwohl für diesen Layouttyp eine variable Kartenhöhe unterstützt wird, kann dies mit individuellem Karteninhalt unter Umständen nicht stabil funktionieren. ::: ### Beispiel @@ -35,4 +36,4 @@ new kanban.Kanban("#root", { **Verwandte Artikel:** [Konfiguration](guides/configuration.md#cards) -**Verwandte Beispiel:** [Kanban. Lazy rendering und Spalten-Scroll](https://snippet.dhtmlx.com/xez9ghqq?tag=kanban) \ No newline at end of file +**Verwandte Beispiel:** [Kanban. Lazy rendering und Spalten-Scroll](https://snippet.dhtmlx.com/xez9ghqq?tag=kanban) diff --git a/i18n/de/docusaurus-plugin-content-docs/current/api/config/js_kanban_rendertype_config.md b/i18n/de/docusaurus-plugin-content-docs/current/api/config/js_kanban_rendertype_config.md index bb71556d..fe1c4b9e 100644 --- a/i18n/de/docusaurus-plugin-content-docs/current/api/config/js_kanban_rendertype_config.md +++ b/i18n/de/docusaurus-plugin-content-docs/current/api/config/js_kanban_rendertype_config.md @@ -22,6 +22,7 @@ renderType?: "default" | "lazy"; :::important Wenn Sie die Einstellungen `renderType: "lazy"` und [`scrollType: "default"`](api/config/js_kanban_scrolltype_config.md) kombinieren, vergessen Sie nicht, eine statische Höhe für die Karten über die Eigenschaft [`cardHeight`](api/config/js_kanban_cardheight_config.md) anzugeben. Andernfalls werden die Karten nicht korrekt angezeigt. +Wenn Sie `renderType: "lazy"` mit [`scrollType: "column"`](api/config/js_kanban_scrolltype_config.md) verwenden, sollten Sie ebenfalls die Höhe der Karten über die [`cardHeight`](api/config/js_kanban_cardheight_config.md) Eigenschaft festlegen. Obwohl eine variable Kartenhöhe für diesen Layouttyp unterstützt wird, kann dies bei benutzerdefiniertem Karteninhalt zu Instabilitäten führen. ::: ### Standardkonfiguration @@ -46,4 +47,4 @@ new kanban.Kanban("#root", { **Verwandte Artikel:** [Konfiguration](guides/configuration.md#cards) -**Verwandtes Beispiel:** [Kanban. Fixierte Überschriften, Lazy Rendering und Spalten-Scroll](https://snippet.dhtmlx.com/xez9ghqq?tag=kanban) \ No newline at end of file +**Verwandtes Beispiel:** [Kanban. Fixierte Überschriften, Lazy Rendering und Spalten-Scroll](https://snippet.dhtmlx.com/xez9ghqq?tag=kanban) diff --git a/i18n/de/docusaurus-plugin-content-docs/current/api/config/js_kanban_scrolltype_config.md b/i18n/de/docusaurus-plugin-content-docs/current/api/config/js_kanban_scrolltype_config.md index b4f8b5ae..3ef15223 100644 --- a/i18n/de/docusaurus-plugin-content-docs/current/api/config/js_kanban_scrolltype_config.md +++ b/i18n/de/docusaurus-plugin-content-docs/current/api/config/js_kanban_scrolltype_config.md @@ -28,6 +28,7 @@ scrollType: "default" :::important Wenn Sie die Einstellungen [`renderType: "lazy"`](api/config/js_kanban_rendertype_config.md) und `scrollType: "default"` kombinieren, vergessen Sie nicht, eine statische Höhe für die Karten über die Eigenschaft [`cardHeight`](api/config/js_kanban_cardheight_config.md) anzugeben. Andernfalls werden die Karten nicht angezeigt. +Wenn Sie [`renderType: "lazy"`](api/config/js_kanban_rendertype_config.md) mit `scrollType: "column"` verwenden, sollten Sie ebenfalls die Höhe der Karten über die Eigenschaft [`cardHeight`](api/config/js_kanban_cardheight_config.md) festlegen. Obwohl eine variable Höhe für Karten bei diesem Layouttyp unterstützt wird, kann dies bei individuellem Karteninhalt zu einer instabilen Darstellung führen. ::: ### Beispiel @@ -46,4 +47,4 @@ new kanban.Kanban("#root", { **Verwandte Artikel:** [Konfiguration](guides/configuration.md#cards) -**Verwandtes Beispiel:** [Kanban. Feste Kopfzeilen, Lazy Rendering und Spaltenscroll](https://snippet.dhtmlx.com/xez9ghqq?tag=kanban) \ No newline at end of file +**Verwandtes Beispiel:** [Kanban. Feste Kopfzeilen, Lazy Rendering und Spaltenscroll](https://snippet.dhtmlx.com/xez9ghqq?tag=kanban) diff --git a/i18n/en/docusaurus-plugin-content-docs/current/api/config/js_kanban_cardheight_config.md b/i18n/en/docusaurus-plugin-content-docs/current/api/config/js_kanban_cardheight_config.md index de9bd054..f78ed0a7 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/api/config/js_kanban_cardheight_config.md +++ b/i18n/en/docusaurus-plugin-content-docs/current/api/config/js_kanban_cardheight_config.md @@ -17,7 +17,8 @@ cardHeight?: number; // px ~~~ :::important -When using [`renderType: "lazy"`](api/config/js_kanban_rendertype_config.md) together with [`scrollType: "default"`](api/config/js_kanban_scrolltype_config.md), it's important to define a fixed height for cards using the `cardHeight` property. Without this, cards won’t be visible. +When using [`renderType: "lazy"`](api/config/js_kanban_rendertype_config.md) together with [`scrollType: "default"`](api/config/js_kanban_scrolltype_config.md), it's important to define a fixed height for cards using the `cardHeight` property. Without this, cards won't be visible. +When you use [`renderType: "lazy"`](api/config/js_kanban_rendertype_config.md) with [`scrollType: "column"`](api/config/js_kanban_scrolltype_config.md), you should also fix the height of cards via the `cardHeight` property. Although a variable height of cards is supported for this type of layout, it may not work in a stable manner with custom card content. ::: ### Example diff --git a/i18n/en/docusaurus-plugin-content-docs/current/api/config/js_kanban_rendertype_config.md b/i18n/en/docusaurus-plugin-content-docs/current/api/config/js_kanban_rendertype_config.md index 0dbf535f..83afbc58 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/api/config/js_kanban_rendertype_config.md +++ b/i18n/en/docusaurus-plugin-content-docs/current/api/config/js_kanban_rendertype_config.md @@ -22,6 +22,7 @@ renderType?: "default" | "lazy"; :::important When using `renderType: "lazy"` together with [`scrollType: "default"`](api/config/js_kanban_scrolltype_config.md), make sure to set a fixed height for cards using the [`cardHeight`](api/config/js_kanban_cardheight_config.md) option. Without this, cards may not display properly. +When you use `renderType: "lazy"` with [`scrollType: "column"`](api/config/js_kanban_scrolltype_config.md), you should also fix the height of cards using the [`cardHeight`](api/config/js_kanban_cardheight_config.md) property. Although a variable height of cards is supported for this type of layout, it may not work in a stable manner with custom card content. ::: ### Default config diff --git a/i18n/en/docusaurus-plugin-content-docs/current/api/config/js_kanban_scrolltype_config.md b/i18n/en/docusaurus-plugin-content-docs/current/api/config/js_kanban_scrolltype_config.md index 7e814a03..fa26b969 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/api/config/js_kanban_scrolltype_config.md +++ b/i18n/en/docusaurus-plugin-content-docs/current/api/config/js_kanban_scrolltype_config.md @@ -27,7 +27,8 @@ scrollType: "default" ~~~ :::important -When combining [`renderType: "lazy"`](api/config/js_kanban_rendertype_config.md) with `scrollType: "default"`, make sure to set a fixed height for cards using the [`cardHeight`](api/config/js_kanban_cardheight_config.md) property. Without this, cards won’t appear properly. +When combining [`renderType: "lazy"`](api/config/js_kanban_rendertype_config.md) with `scrollType: "default"`, make sure to set a fixed height for cards using the [`cardHeight`](api/config/js_kanban_cardheight_config.md) property. Without this, cards won't appear properly. +When you use [`renderType: "lazy"`](api/config/js_kanban_rendertype_config.md) with `scrollType: "column"`, you should also fix the height of cards using the [`cardHeight`](api/config/js_kanban_cardheight_config.md) property. Although a variable height of cards is supported for this type of layout, it may not work in a stable manner with custom card content. ::: ### Example diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/api/config/js_kanban_cardheight_config.md b/i18n/ko/docusaurus-plugin-content-docs/current/api/config/js_kanban_cardheight_config.md index f5d29cf7..ecdbe7ae 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current/api/config/js_kanban_cardheight_config.md +++ b/i18n/ko/docusaurus-plugin-content-docs/current/api/config/js_kanban_cardheight_config.md @@ -17,7 +17,8 @@ cardHeight?: number; // px ~~~ :::important -[`renderType: "lazy"`](api/config/js_kanban_rendertype_config.md)와 [`scrollType: "default"`](api/config/js_kanban_scrolltype_config.md) 설정을 함께 사용하는 경우, `cardHeight` 속성을 통해 카드의 고정 높이를 반드시 지정해야 합니다. 지정하지 않으면 카드가 표시되지 않습니다. +[`renderType: "lazy"`](api/config/js_kanban_rendertype_config.md)와 [`scrollType: "default"`](api/config/js_kanban_scrolltype_config.md) 설정을 함께 사용하는 경우, `cardHeight` 속성을 통해 카드의 고정 높이를 반드시 지정해야 합니다. 지정하지 않으면 카드가 표시되지 않습니다. +또한 [`renderType: "lazy"`](api/config/js_kanban_rendertype_config.md)와 [`scrollType: "column"`](api/config/js_kanban_scrolltype_config.md)을 함께 사용할 때도 `cardHeight` 속성을 통해 카드의 높이를 고정해야 합니다. 이 레이아웃에서는 카드의 가변 높이가 지원되지만, 커스텀 카드 콘텐츠와 함께 사용할 경우 안정적으로 동작하지 않을 수 있습니다. ::: ### 예제 @@ -35,4 +36,4 @@ new kanban.Kanban("#root", { **관련 문서:** [설정](guides/configuration.md#cards) -**관련 샘플:** [Kanban. Lazy rendering and column scroll](https://snippet.dhtmlx.com/xez9ghqq?tag=kanban) \ No newline at end of file +**관련 샘플:** [Kanban. Lazy rendering and column scroll](https://snippet.dhtmlx.com/xez9ghqq?tag=kanban) diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/api/config/js_kanban_rendertype_config.md b/i18n/ko/docusaurus-plugin-content-docs/current/api/config/js_kanban_rendertype_config.md index cc2f4397..bbed9213 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current/api/config/js_kanban_rendertype_config.md +++ b/i18n/ko/docusaurus-plugin-content-docs/current/api/config/js_kanban_rendertype_config.md @@ -8,10 +8,10 @@ description: DHTMLX JavaScript Kanban 라이브러리 문서에서 renderType ### 설명 -@short: 선택 사항입니다. 카드 렌더링 유형을 정의합니다. +@short: 선택 사항입니다. 카드 렌더링 타입을 정의합니다. :::info -이 속성은 많은 수의 카드를 다룰 때 사용됩니다. *"lazy"*로 설정하면 위젯은 보드에서 볼 수 있는 카드의 시각적 부분만 렌더링합니다. 이는 위젯 성능을 크게 향상시킬 수 있습니다. +이 속성은 많은 수의 카드를 다룰 때 사용됩니다. *"lazy"*로 설정하면, 위젯은 보드에서 보이는 카드의 시각적인 부분만 렌더링합니다. 이는 위젯 성능을 크게 향상시킬 수 있습니다. ::: ### 사용법 @@ -21,7 +21,8 @@ renderType?: "default" | "lazy"; ~~~ :::important -`renderType: "lazy"`와 [`scrollType: "default"`](api/config/js_kanban_scrolltype_config.md) 설정을 함께 사용할 경우, 반드시 [`cardHeight`](api/config/js_kanban_cardheight_config.md) 속성을 통해 카드의 고정 높이를 지정해야 합니다. 지정하지 않으면 카드가 올바르게 표시되지 않습니다. +`renderType: "lazy"`와 [`scrollType: "default"`](api/config/js_kanban_scrolltype_config.md) 설정을 함께 사용할 경우, 반드시 [`cardHeight`](api/config/js_kanban_cardheight_config.md) 속성을 통해 카드의 고정 높이를 지정해야 합니다. 지정하지 않으면 카드가 올바르게 표시되지 않습니다. +`renderType: "lazy"`를 [`scrollType: "column"`](api/config/js_kanban_scrolltype_config.md)과 함께 사용할 때도 카드의 높이를 [`cardHeight`](api/config/js_kanban_cardheight_config.md) 속성을 통해 고정해야 합니다. 이 레이아웃에서는 카드의 가변 높이도 지원하지만, 커스텀 카드 콘텐츠와 함께 사용할 경우 안정적으로 동작하지 않을 수 있습니다. ::: ### 기본 구성 @@ -46,4 +47,4 @@ new kanban.Kanban("#root", { **관련 문서:** [구성](guides/configuration.md#cards) -**관련 샘플:** [Kanban. 고정 헤더, 지연 렌더링 및 컬럼 스크롤](https://snippet.dhtmlx.com/xez9ghqq?tag=kanban) \ No newline at end of file +**관련 샘플:** [Kanban. 고정 헤더, 지연 렌더링 및 컬럼 스크롤](https://snippet.dhtmlx.com/xez9ghqq?tag=kanban) diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/api/config/js_kanban_scrolltype_config.md b/i18n/ko/docusaurus-plugin-content-docs/current/api/config/js_kanban_scrolltype_config.md index debc451f..09c0ae06 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current/api/config/js_kanban_scrolltype_config.md +++ b/i18n/ko/docusaurus-plugin-content-docs/current/api/config/js_kanban_scrolltype_config.md @@ -14,7 +14,7 @@ description: DHTMLX JavaScript Kanban 라이브러리 문서에서 scrollType ~~~jsx {} scrollType?: "default" | "column"; -~~~ +~~~ :::note `scrollType: "column"` 설정을 사용하면 각 열을 개별적으로 스크롤할 수 있습니다. @@ -28,6 +28,7 @@ scrollType: "default" :::important [`renderType: "lazy"`](api/config/js_kanban_rendertype_config.md)와 `scrollType: "default"` 설정을 함께 사용할 경우, [`cardHeight`](api/config/js_kanban_cardheight_config.md) 속성을 통해 카드의 고정 높이를 반드시 지정해야 합니다. 지정하지 않으면 카드가 표시되지 않습니다. +[`renderType: "lazy"`](api/config/js_kanban_rendertype_config.md)와 `scrollType: "column"`을 함께 사용할 때에도 [`cardHeight`](api/config/js_kanban_cardheight_config.md) 속성을 통해 카드의 높이를 고정해야 합니다. 이 레이아웃 유형에서는 카드의 가변 높이가 지원되지만, 커스텀 카드 콘텐츠와 함께 사용할 경우 안정적으로 동작하지 않을 수 있습니다. ::: ### 예제 @@ -46,4 +47,4 @@ new kanban.Kanban("#root", { **관련 문서:** [구성](guides/configuration.md#cards) -**관련 샘플:** [Kanban. 고정 헤더, 지연 렌더링 및 열 스크롤](https://snippet.dhtmlx.com/xez9ghqq?tag=kanban) \ No newline at end of file +**관련 샘플:** [Kanban. 고정 헤더, 지연 렌더링 및 열 스크롤](https://snippet.dhtmlx.com/xez9ghqq?tag=kanban) diff --git a/i18n/ru/docusaurus-plugin-content-docs/current/api/config/js_kanban_cardheight_config.md b/i18n/ru/docusaurus-plugin-content-docs/current/api/config/js_kanban_cardheight_config.md index a4df5b4f..e4814cc2 100644 --- a/i18n/ru/docusaurus-plugin-content-docs/current/api/config/js_kanban_cardheight_config.md +++ b/i18n/ru/docusaurus-plugin-content-docs/current/api/config/js_kanban_cardheight_config.md @@ -8,7 +8,7 @@ description: Вы можете узнать о конфигурации cardHeig ### Описание -@short: Необязательно. Высота карточек +@short: Необязательный. Высота карточек ### Использование @@ -18,6 +18,7 @@ cardHeight?: number; // px :::important Если вы используете настройки [`renderType: "lazy"`](api/config/js_kanban_rendertype_config.md) и [`scrollType: "default"`](api/config/js_kanban_scrolltype_config.md) одновременно, не забудьте указать статическую высоту карточек через свойство `cardHeight`. Если не указать, карточки не будут отображаться. +Если вы используете [`renderType: "lazy"`](api/config/js_kanban_rendertype_config.md) с [`scrollType: "column"`](api/config/js_kanban_scrolltype_config.md), также рекомендуется зафиксировать высоту карточек через свойство `cardHeight`. Хотя для такого типа лейаута поддерживается переменная высота карточек, скролл может некорректно работать с кастомизациями карточек. ::: ### Пример @@ -35,4 +36,4 @@ new kanban.Kanban("#root", { **Связанные статьи:** [Конфигурация](guides/configuration.md#cards) -**Связанный пример:** [Kanban. Ленивый рендеринг и прокрутка колонок](https://snippet.dhtmlx.com/xez9ghqq?tag=kanban) \ No newline at end of file +**Связанный пример:** [Kanban. Ленивый рендеринг и прокрутка колонок](https://snippet.dhtmlx.com/xez9ghqq?tag=kanban) diff --git a/i18n/ru/docusaurus-plugin-content-docs/current/api/config/js_kanban_rendertype_config.md b/i18n/ru/docusaurus-plugin-content-docs/current/api/config/js_kanban_rendertype_config.md index 1bd876e5..dd4abd6b 100644 --- a/i18n/ru/docusaurus-plugin-content-docs/current/api/config/js_kanban_rendertype_config.md +++ b/i18n/ru/docusaurus-plugin-content-docs/current/api/config/js_kanban_rendertype_config.md @@ -8,10 +8,10 @@ description: Вы можете узнать о конфигурации renderTy ### Описание -@short: Опционально. Определяет тип рендеринга карточек +@short: Необязательный параметр. Определяет тип рендеринга карточек. :::info -Это свойство используется при работе с большим количеством карточек. Если установить значение *"lazy"*, виджет будет рендерить только визуальную часть карточек, которые видны на доске. Это может значительно повысить производительность виджета. +Это свойство используется при работе с большим количеством карточек. Если установить значение *"lazy"*, виджет будет рендерить только те карточки, которые видны на доске. Это может значительно повысить производительность виджета. ::: ### Использование @@ -22,6 +22,7 @@ renderType?: "default" | "lazy"; :::important Если вы используете настройки `renderType: "lazy"` и [`scrollType: "default"`](api/config/js_kanban_scrolltype_config.md) вместе, не забудьте указать статическую высоту карточек через свойство [`cardHeight`](api/config/js_kanban_cardheight_config.md). Если этого не сделать, карточки будут отображаться некорректно. +Если вы используете `renderType: "lazy"` с [`scrollType: "column"`](api/config/js_kanban_scrolltype_config.md), мы советуем также фиксировать высоту карточек через свойство [`cardHeight`](api/config/js_kanban_cardheight_config.md). Хотя переменная высота карточек поддерживается для такого типа лейаута, скролл может работать нестабильно с кастомным содержимым карточек. ::: ### Конфигурация по умолчанию @@ -46,4 +47,4 @@ new kanban.Kanban("#root", { **Связанные статьи:** [Конфигурация](guides/configuration.md#cards) -**Связанный пример:** [Kanban. Фиксированные заголовки, ленивый рендеринг и прокрутка колонок](https://snippet.dhtmlx.com/xez9ghqq?tag=kanban) \ No newline at end of file +**Связанный пример:** [Kanban. Фиксированные заголовки, ленивый рендеринг и прокрутка колонок](https://snippet.dhtmlx.com/xez9ghqq?tag=kanban) diff --git a/i18n/ru/docusaurus-plugin-content-docs/current/api/config/js_kanban_scrolltype_config.md b/i18n/ru/docusaurus-plugin-content-docs/current/api/config/js_kanban_scrolltype_config.md index 55125a73..a540878b 100644 --- a/i18n/ru/docusaurus-plugin-content-docs/current/api/config/js_kanban_scrolltype_config.md +++ b/i18n/ru/docusaurus-plugin-content-docs/current/api/config/js_kanban_scrolltype_config.md @@ -14,20 +14,21 @@ description: В документации библиотеки DHTMLX JavaScript ~~~jsx {} scrollType?: "default" | "column"; -~~~ +~~~ :::note Если вы используете настройку `scrollType: "column"`, вы сможете прокручивать каждую колонку отдельно. ::: -### Конфигурация по умолчанию +### Значение по умолчанию ~~~jsx {} scrollType: "default" ~~~ :::important -Если вы комбинируете настройки [`renderType: "lazy"`](api/config/js_kanban_rendertype_config.md) и `scrollType: "default"`, не забудьте указать статическую высоту для карточек через свойство [`cardHeight`](api/config/js_kanban_cardheight_config.md). Если не указать это, карточки не будут отображаться. +Если вы комбинируете настройки [`renderType: "lazy"`](api/config/js_kanban_rendertype_config.md) и `scrollType: "default"`, не забудьте указать статическую высоту для карточек через свойство [`cardHeight`](api/config/js_kanban_cardheight_config.md). Если не указать высоту, карточки не будут отображаться. +Если вы используете [`renderType: "lazy"`](api/config/js_kanban_rendertype_config.md) и `scrollType: "column"`, мы советуем также фиксировать высоту карточек через свойство [`cardHeight`](api/config/js_kanban_cardheight_config.md). Хотя для этого типа лейаута поддерживается переменная высота карточек, скролл может работать нестабильно с кастомным содержимым карточек. ::: ### Пример @@ -46,4 +47,4 @@ new kanban.Kanban("#root", { **Связанные статьи:** [Конфигурация](guides/configuration.md#cards) -**Связанный пример:** [Kanban. Фиксированные заголовки, ленивый рендеринг и прокрутка колонок](https://snippet.dhtmlx.com/xez9ghqq?tag=kanban) \ No newline at end of file +**Связанный пример:** [Kanban. Фиксированные заголовки, ленивый рендеринг и прокрутка колонок](https://snippet.dhtmlx.com/xez9ghqq?tag=kanban) diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/api/config/js_kanban_cardheight_config.md b/i18n/zh/docusaurus-plugin-content-docs/current/api/config/js_kanban_cardheight_config.md index 4dab49e8..2f324ad7 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/api/config/js_kanban_cardheight_config.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/api/config/js_kanban_cardheight_config.md @@ -18,6 +18,7 @@ cardHeight?: number; // px :::important 如果您同时使用 [`renderType: "lazy"`](api/config/js_kanban_rendertype_config.md) 和 [`scrollType: "default"`](api/config/js_kanban_scrolltype_config.md) 设置,请务必通过 `cardHeight` 属性指定卡片的固定高度。如果未指定,卡片将不会显示。 +当您将 [`renderType: "lazy"`](api/config/js_kanban_rendertype_config.md) 与 [`scrollType: "column"`](api/config/js_kanban_scrolltype_config.md) 配合使用时,也应通过 `cardHeight` 属性固定卡片高度。尽管该布局类型支持卡片高度可变,但在自定义卡片内容时,可能无法稳定工作。 ::: ### 示例 @@ -35,4 +36,4 @@ new kanban.Kanban("#root", { **相关文档:** [配置](guides/configuration.md#cards) -**相关示例:** [Kanban. Lazy rendering and column scroll](https://snippet.dhtmlx.com/xez9ghqq?tag=kanban) \ No newline at end of file +**相关示例:** [Kanban. Lazy rendering and column scroll](https://snippet.dhtmlx.com/xez9ghqq?tag=kanban) diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/api/config/js_kanban_rendertype_config.md b/i18n/zh/docusaurus-plugin-content-docs/current/api/config/js_kanban_rendertype_config.md index 87f4ba0c..b7cc6ccd 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/api/config/js_kanban_rendertype_config.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/api/config/js_kanban_rendertype_config.md @@ -22,6 +22,7 @@ renderType?: "default" | "lazy"; :::important 如果您将 `renderType: "lazy"` 与 [`scrollType: "default"`](api/config/js_kanban_scrolltype_config.md) 设置结合使用,请务必通过 [`cardHeight`](api/config/js_kanban_cardheight_config.md) 属性指定卡片的固定高度。否则卡片将无法正确显示。 +当您将 `renderType: "lazy"` 与 [`scrollType: "column"`](api/config/js_kanban_scrolltype_config.md) 搭配使用时,也应通过 [`cardHeight`](api/config/js_kanban_cardheight_config.md) 属性固定卡片的高度。虽然此布局类型支持卡片高度可变,但如果使用自定义卡片内容,可能无法稳定工作。 ::: ### 默认配置 @@ -46,4 +47,4 @@ new kanban.Kanban("#root", { **相关文档:** [配置](guides/configuration.md#cards) -**相关示例:** [Kanban. 固定表头,懒加载渲染和列滚动](https://snippet.dhtmlx.com/xez9ghqq?tag=kanban) \ No newline at end of file +**相关示例:** [Kanban. 固定表头,懒加载渲染和列滚动](https://snippet.dhtmlx.com/xez9ghqq?tag=kanban) diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/api/config/js_kanban_scrolltype_config.md b/i18n/zh/docusaurus-plugin-content-docs/current/api/config/js_kanban_scrolltype_config.md index b0b537a6..2a3ccc5d 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/api/config/js_kanban_scrolltype_config.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/api/config/js_kanban_scrolltype_config.md @@ -14,7 +14,7 @@ description: 您可以在 DHTMLX JavaScript 看板库的文档中了解 scrollTy ~~~jsx {} scrollType?: "default" | "column"; -~~~ +~~~ :::note 如果您使用 `scrollType: "column"` 设置,则可以分别滚动每一列。 @@ -28,6 +28,7 @@ scrollType: "default" :::important 如果您将 [`renderType: "lazy"`](api/config/js_kanban_rendertype_config.md) 和 `scrollType: "default"` 设置结合使用,请务必通过 [`cardHeight`](api/config/js_kanban_cardheight_config.md) 属性指定卡片的固定高度。否则卡片将无法显示。 +当您将 [`renderType: "lazy"`](api/config/js_kanban_rendertype_config.md) 与 `scrollType: "column"` 一起使用时,也应该通过 [`cardHeight`](api/config/js_kanban_cardheight_config.md) 属性固定卡片的高度。尽管该布局类型支持可变高度的卡片,但如果卡片内容为自定义内容,显示效果可能不稳定。 ::: ### 示例 @@ -46,4 +47,4 @@ new kanban.Kanban("#root", { **相关文档:** [配置](guides/configuration.md#cards) -**相关示例:** [看板。固定表头、懒加载渲染和列滚动](https://snippet.dhtmlx.com/xez9ghqq?tag=kanban) \ No newline at end of file +**相关示例:** [看板。固定表头、懒加载渲染和列滚动](https://snippet.dhtmlx.com/xez9ghqq?tag=kanban)