Namespace: Consultingwerk.Web2.Services.Rendering.FormComponents
Class 
GridWebRendering Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.Web2.Services.Rendering.FormComponents.IFormWebRenderingComponent

File:GridWebRendering
Purpose:Rendering of a grid component
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Thu Feb 15 11:40:24 CET 2018
/* Mike Fechner, Consultingwerk Ltd. 13.09.2017
Preprocessor variables for SmartComponentLibrary, WinKit and SmartFramework
based on Consultingwerk/packages.i now



Top Method Summary
Options Name Purpose
+ Progress.Json.ObjectModel.JsonObject GetDetailTemplate (character) Returns the Detail Template
# Progress.Json.ObjectModel.JsonObject RenderColumnEditor (handle, handle, handle) Renderes an embedded editor
+ Progress.Json.ObjectModel.JsonObject RenderComponentToJson (character, handle, handle) Renders a component to JSON
# Progress.Json.ObjectModel.JsonObject RenderGridLayout (character, handle, handle) Renders the Grid Layout based on the repository data

Top Constructor Summary
Options Name Purpose
GridWebRendering () Static constructor for the GridWebRendering class


Method Detail
Top

PUBLIC Progress.Json.ObjectModel.JsonObject GetDetailTemplate (character)

Purpose: Returns the Detail Template
Notes:

Parameters:
pcDetailTemplate CHARACTER
The name of the detail template
Returns Progress.Json.ObjectModel.JsonObject
The JsonObject representing the detail template
Top

PROTECTED Progress.Json.ObjectModel.JsonObject RenderColumnEditor (handle, handle, handle)

Purpose: Renderes an embedded editor
Notes:

Parameters:
hColumnInstanceBuffer HANDLE
The handle of the column instance buffer
hColumnAttributes HANDLE
The handle of the attributes buffer
phRepositoryData HANDLE
The handle of the ProDataset with the repository data
Returns Progress.Json.ObjectModel.JsonObject
The JsonObject with the repository data
Top

PUBLIC Progress.Json.ObjectModel.JsonObject RenderComponentToJson (character, handle, handle)

Purpose: Renders a component to JSON
Notes:

Parameters:
pcObjectInstanceGuid CHARACTER
The GUID of the current object instance
phAttributesBuffer HANDLE
The record buffer with the object attributes
phRepositoryData HANDLE
The repository data to render (ProDataset)
Returns Progress.Json.ObjectModel.JsonObject
The JSON object describing the component
Top

PROTECTED Progress.Json.ObjectModel.JsonObject RenderGridLayout (character, handle, handle)

Purpose: Renders the Grid Layout based on the repository data
Notes:

Parameters:
pcObjectInstanceGuid CHARACTER
The GUID of the current object instance
phAttributesBuffer HANDLE
The record buffer with the object attributes
phRepositoryData HANDLE
The repository data to render (ProDataset)
Returns Progress.Json.ObjectModel.JsonObject
The JSON object describing the component


Constructor Detail
Top

STATIC GridWebRendering ()

Purpose: Static constructor for the GridWebRendering class
Notes:



©2006-2019 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.08.2019 23:58:54