Click or drag to resize

PFGridViewHtmlHelperTPFBaseObject Class

Provides methods for the generation of gridviews.
Inheritance Hierarchy
SystemObject
  Packflow.InterfacePFGridViewHtmlHelperTPFBaseObject
    Packflow.InterfacePFGridViewHtmlHelper_Items
    Packflow.InterfacePFGridViewHtmlHelper_MultiContent
    Packflow.InterfacePFGridViewHtmlHelper_Objects

Namespace:  Packflow.Interface
Assembly:  MicaSystems.Packflow.Interface (in MicaSystems.Packflow.Interface.dll) Version: 1.0.0.0 (2.0.0.223)
Syntax
C#
public abstract class PFGridViewHtmlHelper<TPFBaseObject>
where TPFBaseObject : PFBaseObject

Type Parameters

TPFBaseObject

The PFGridViewHtmlHelperTPFBaseObject type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyBaseQuery
Gets the base PFQuery.
Public propertyClientFilters
Gets the client filters (initialized from ClientFiltersText).
Public propertyClientFiltersText
Gets the text containing client filters. Includes users (UsersFiltersText) filters and custom client filters (CustomFiltersText).
Public propertyCustomFiltersText Obsolete.
Old setting. Do not use.
Public propertyCustomQuickSearchtext
Gets or sets a text used to force a quick search, replacing the existing one if any.
Public propertyCustomServerFilters
Gets the server-side custom filters.
Public propertyFullPaging

Gets a value indicating whether the generation should show all the available pages.

This has a performance cost growing with data size.

Protected propertyGridViewAdditionnalFilters
Gets filters obtained locally (from this class), to be used in the Query.
Public propertyGroup
Gets the top level definition of groups.
Public propertyGroupContent
Gets a value indicating whether a group content is being loaded.
Public propertyGroupContentLevel
Gets the group depth (starting with 0 at the root).
Public propertyGroupNextlevelIsObjects
Gets a value indicating whether objects or groups of objects are being loaded.
Protected propertyOrderGroupEntriesByTitle
Gets a value indicating whether the requested groups should be ordered on the front-end side by their display value, even if custom.
Public propertyPageNumber
Gets the number of the page to load (starting with 1).

In a group load context, returns the page number inside the group.

Public propertyParentGroupHtmlId
Gets the parent group id of the data being loaded, if appropriate.
Public propertyQuery
Gets the PFQuery to execute.

This is the base query plus custom filters, paging, scope, groups settings and required columns.

Public propertyQuickSearchColumns
Gets the column names filtered during a quicksearch.
Public propertyRequiredColumns
Gets the name of columns that must be selected in the query.
Public propertySettings
Gets the gridview settings.
Public propertySite
Gets the contextual Packflow Site.
Public propertyTableColCount
Gets the count of columns in the output table, including columns not containing data (like the selection checkbox column or inline actions).
Public propertyTranslations
Gets the contextual translations provided by Packflow.
Protected propertyTranslationsInitialized
Gets a value indicating whether the Translations object is initialized.
Public propertyUsersFiltersText
Gets the text containing user filters (usually filled client-side with the various filtering features).
Public propertyViewColumns
Gets the column names of the current view.
Top
Methods
  NameDescription
Protected methodCustomizeQuery
Customizes the query after its initialization.
Public methodGenerate
Generates the gridview's HTML, containing data or group rows with aggregations and paging information.
Protected methodGetColumnOrder
Gets the type of ordering of a column, based on the CustomSortFieldName setting.

Returns null if the column is not involved.

Protected methodGetGlobalAggregationsRow
Generates the global aggregation row's HTML.
Protected methodGetGroupHtml
Generates a group's HTML.
Protected methodGetHeaderRow
Generates the header's HTML.
Protected methodGetHiddenData
Gets an HTML containing hidden information, usually intended for the JavaScript code.
Protected methodGetObjectRow
Generates the HTML of the object's row and appends it to the builder.
Protected methodGetObjects
Executes the query on the parent object to retrieve the objects to show in the gridview.
Protected methodGetObjectsByGroup
Executes the query on the parent object to retrieve the groups to show in the gridview.
Protected methodGetPagingInformations
Generates the paging part of the gridview.
Protected methodHandleViewChange
Handles the specific case of a view load targeting a different view than the previous load of the same gridview.
Protected methodIsColumnFilteredByUser
Gets a value indicating whether the column is involved in a user (client-side) filter.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberAggregation_PF_RowCount
Aggregation name used in PFQuery to obtain the row count inside groups.
Public fieldStatic memberFilterSeparator
Client filters are concatenated using this separator.
Top
Extension Methods
  NameDescription
Public Extension MethodAsT
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.)
Public Extension MethodEqualsAll
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.)
Public Extension MethodEqualsAny
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.)
Public Extension MethodGetString
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.)
Public Extension MethodIsGenericListOverloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.)
Public Extension MethodIsGenericList(Type)Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.)
Public Extension MethodSerializeOverloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerialize(String)Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerializeJsonOverloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(ListType)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(DataContractJsonSerializerSettings)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Top
See Also