OutSystems Forge 日本語データベース

Hierarchical Tree

※Forge全件データの日本語検索サービスをご利用になりたい場合は、こちらまでお問合せください。

Forge英文サイト

2018-06-25 1.0.0 Ângelo Sousa All All Components, Widgets, Plug-ins, Applications, Templates
階層ツリー状の構造を構築します。 これは、いくつかのzTree機能に対するOutSystemsのアプローチです。 zTreeへのリンク:https://www.outsystems.com/forge/component/963/ztree/?Unfollow=False
ListRecordsウィジェットを使用してツリー状の構造を構築して表示する簡単なプラグイン ユーザーは、組み込みアクションを使用してカスタムツリーを構築したり、画面上の公開Webブロックを公開してすぐに使用できるリストを表示することができます。 注意:階層ツリーのソースとして使用されるリストには、5つの必須属性が必要です。 - レベル - 整数 - 現在のレコードの階層を表すゼロベースの数字。すなわち最上位のレイヤーはレベル= 0、次のレイヤーはレベル= 1などである。 - ソート - 文字列 - "|"レコードの全系統の名前で区切られた文字列。たとえば、スクリーンショットのRua de Marvilaレコードの場合、Sort属性は "Europe | Portugal | Lisbon | Rua de Marvila"です。このフィールドは、正しい親の下に子レコードを表示するためにレコードをソートするために使用されます。 - isVisible - boolean - 指定されたレコードを表示または非表示にするフラグ - isOpen - ブール値 - 指定されたレコードが子レコードを表示するか、折りたたまれて表示されるかどうかを示すフラグ。 - isChecked - ブール値 - 指定されたレコードがチェックされているかどうかを示すフラグ。 これはプロジェクトでこれが必要な人に役立ちます。 バグや改善についてのフィードバックをお寄せください。私はチャンスを得るたびにそれらに運を与えます。

[Overview]
Builds a hierarchical tree-like structure. It's an OutSystems approach to some of zTree functionalities. Link to zTree: https://www.outsystems.com/forge/component/963/ztree/?Unfollow=False
[Detail]
Simple plug in to build and display a tree-like structure using the ListRecords widget The user can use the embedded actions to build a custom tree, or just expose the public web block on the screen to have a ready to use list. Note: The list that is going to be used as a source for the Hierarchical tree has to have five mandatory attributes: - Level - integer - Zero based number representing the hierarchical of the current record, i.e. the top-most layer has Level = 0, the following layer has Level = 1, and so on. - Sort - string - A "|" separated string with the Names oh the entire lineage of a record. For example for record Rua de Marvila on the screenshot, it's Sort attribute is "Europe|Portugal|Lisbon|Rua de Marvila". This field is used to sort the records in order to display the child records below the correct parent. - isVisible - boolean - Flag to display or hide a given record - isOpen - boolean - Flag that indicates if a given record is expanded in order to show its child records or collapsed. - isChecked - boolean - Flag that indicates if a given record is checked or not. Hope this helps anyone that needs something like this in their projects. Please give feedback of any bugs or improvements and I'll give them a luck whenever I get the chance.
戻る