Namespace: Consultingwerk.Web2.Services.SmartViews
Class 
Grid Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.Web2.Services.SmartViews.IGridLayoutProvider

/* 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 GetFragment (character) Returns the Json Object describing the Grid
+ Progress.Json.ObjectModel.JsonObject GetFragment (character, character) Returns the Json Object describing the Grid
+ Progress.Json.ObjectModel.JsonObject GetFragment (character, character, character) Returns the Json Object describing the Grid
+ GetFragment (character, character, longchar) Returns the HTML Fragment for the SmartGrid
+ Consultingwerk.Web.Kendo.Grid.KendoGrid GetKendoGrid (character, character, logical, character) Returns the HTML Fragment for the SmartGrid
+ Consultingwerk.Web2.Services.SmartViews.IGridCustomizationProvider RegisterCustomizationProvider (character, character, IGridCustomizationProvider) Registers an IGridCustomizationProvider
+ Consultingwerk.Web2.Services.SmartViews.IGridCustomProvider RegisterGridCustomProvider (character, IGridCustomProvider) Registers an IGridCustomProvider

Top Constructor Summary
Options Name Purpose
+ Grid () Constructor for the Grid 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

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

Purpose: Returns the Json Object describing the Grid
Notes:

Parameters:
pcCustomViewName CHARACTER
The name of the view
Returns Progress.Json.ObjectModel.JsonObject
The JSON Object describing the Grid
Top

PUBLIC Progress.Json.ObjectModel.JsonObject GetFragment (character, character)

Purpose: Returns the Json Object describing the Grid
Notes:

Parameters:
pcEntityName CHARACTER
The name of the Business Entity to return a view spec form
pcViewName CHARACTER
The name of the view
Returns Progress.Json.ObjectModel.JsonObject
The JSON Object describing the Grid
Top

PUBLIC Progress.Json.ObjectModel.JsonObject GetFragment (character, character, character)

Purpose: Returns the Json Object describing the Grid
Notes:

Parameters:
pcEntityName CHARACTER
The name of the Business Entity to return a view spec form
pcViewName CHARACTER
The name of the view
pcDetailTemplate CHARACTER
The name of the detail template
Returns Progress.Json.ObjectModel.JsonObject
The JSON Object describing the Grid
Top

PUBLIC GetFragment (character, character, longchar)

Purpose: Returns the HTML Fragment for the SmartGrid
Notes:

Parameters:
pcEntityName CHARACTER
The name of the Business Entity to return a view spec form
pcViewName CHARACTER
The name of the view
pcCode LONGCHAR
OUTPUT The html fragment
Top

PUBLIC Consultingwerk.Web.Kendo.Grid.KendoGrid GetKendoGrid (character, character, logical, character)

Purpose: Returns the HTML Fragment for the SmartGrid
Notes:

Parameters:
pcEntityName CHARACTER
The name of the Business Entity to return a view spec form
pcViewName CHARACTER
The name of the view
plPerformSecurityCheck LOGICAL
Logical value indicating if the method should perform field level security checks (hidden, read-only)
pcSecurityKey CHARACTER
The security key
Returns Consultingwerk.Web.Kendo.Grid.KendoGrid
The KendoGrid structure that defines the grid
Top

PUBLIC Consultingwerk.Web2.Services.SmartViews.IGridCustomizationProvider RegisterCustomizationProvider (character, character, IGridCustomizationProvider)

Purpose: Registers an IGridCustomizationProvider
Notes: Allows to customize a grid identified by the Business Entity Name and View Name

Parameters:
pcEntityNamePattern CHARACTER
The name pattern (MATCHES) of Business Entities to customize
pcViewPattern CHARACTER
The name pattern (MATCHES) of Views to customizat
poCustomizationProvider Consultingwerk.Web2.Services.SmartViews.IGridCustomizationProvider
The customization provider instance
Returns Consultingwerk.Web2.Services.SmartViews.IGridCustomizationProvider
The IGridCustomizationProvider instance for fluent coding style
Top

PUBLIC Consultingwerk.Web2.Services.SmartViews.IGridCustomProvider RegisterGridCustomProvider (character, IGridCustomProvider)

Purpose: Registers an IGridCustomProvider
Notes: Allows to return a custom grid layout to the browser independently
of a Business Entity Name nad View Name

Parameters:
pcCustomViewPattern CHARACTER
The name pattern (MATCHES) of Views to customize
poCustomProvider Consultingwerk.Web2.Services.SmartViews.IGridCustomProvider
The customization provider instance
Returns Consultingwerk.Web2.Services.SmartViews.IGridCustomProvider
The IGridCustomProvider instance for fluent coding style


Constructor Detail
Top

PUBLIC Grid ()

Purpose: Constructor for the Grid class
Notes:



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