Page History
このウェブレットを使用する時は、通常WEB_MAPに作業リストを指定するWebroutineを作成します。LANSAエディターでグリッド・ウェブレットを使って、作業リスト内のデータを以下の手順で表示することができます。
- 作業リストがWEB_MAPで*HIDDENではない場合は、デフォルト値で作業リストを表すテーブルがWebページに含まれます。リストをビジュアライズするテーブルは削除します。削除するには、リストで右クリックし、ポップアップ・メニューから、[全てのリスト削除]を選択してください。
- [ウェブレット テンプレート]タブをクリックし、上にあるドロップダウン・リストから[標準ウェブレット]を選択、[グリッド]ウェブレットを探します。
- [デザイン]ビューでウェブレットをページにドラッグ・アンド・ドロップしてください。ウェブレットを選択して、[詳細]タブをクリックするのを忘れないでください。
- listnameプロパティをWEB_MAPに送られる作業リストに設定します。グリッド表示にはすぐに作業リストの詳細が反映されます。
- オプションとしてWebページのデザインに合うように、heightプロパティやwidthプロパティを設定することができます。
ウェブレットのグリッド・カラムのカスタマイズについての詳細については、「グリッド・カラムをカスタマイズする」を参照してください。
To use this weblet you would typically create a webroutine that specifies a working list in its WEB_MAP. The grid weblet can be used to represent the data in the working list by completing the following steps in the LANSA Editor:
1. If the working list was not *HIDDEN on the WEB_MAP a default table representation of the working list will be included on the web page. Delete the table that visualizes the list. To do this, right-click in the list and select Delete Entire List from the pop-up menu.
2. Click on the Weblets tab, select Standard Weblets from the drop-down list near the top and locate the Grid weblet.
3. Drag and drop the weblet onto your page in the Design view. Make sure the weblet is selected and then click on the Details tab.
4. Set the listname property to the working list passed on the WEB_MAP. The grid representation should immediately reflect the working list details.
5. Optionally you may want to set the height and width properties to fit your webpage design.
For more information on customizing grid columns with your own weblets refer to Customize Grid Columns.