Class HtmlDataGridConfig
Configures the HtmlDataGrid function's operation with customizations. This object serves as a configuration manager on which you can set properties and override methods.
Class Members
Member | Description | |
---|---|---|
![]() |
OnAfterRowRender | Expression you can specify to have fired just before a row gets rendered. The expression MUST return a string. This handler is useful for: Injecting additional HTML content - like another… |
![]() |
OnAfterRowsRendered | Version 7.12 not released yet Console Update Project Resources Helper Added a new UPDATEPROJECTRESOURCES Console Command that can be used to update an existing project with the resources from an… |
![]() |
OnBeforeRowRender | Event called just before a row is rendered in the data grid. The record to render is already loaded at this point. This event is useful for injecting content before a row is rendered such as group… |
![]() |
AddColumn | Adds an HtmlDataGridColumn to the Columns collection. Examples Add a column object: loCol = CREATEOBJECT("HtmlDataGridColumn","Entered","Date") loCol.FieldType =…
o.AddColumn(loColumn, lcHeaderText, lcType)
|
![]() |
AddCursorColumns | Call this method to automatically add all of a cursor's columns to the Columns collection. Uses the default column information available via AFIELDS() to assign column properties. Once created you…
o.AddCursorColumns()
|
![]() |
ActiveColumn | The active column when rendering - available in rendering expressions |
![]() |
ActiveColumnAttributeString | Attribute string for each column as it's rendered - available in rendering expressions |
![]() |
AlternateItems | Determines whether items are using alternating colors |
![]() |
AlternatingItemCssClass | CSS Class for Alternating items when AlternateItems = .t. |
![]() |
CssClass | The main CSS class for the HTML Table |
![]() |
CurrentPageIndex | |
![]() |
DataKeyField | A key field that is embedded into each row's id |
![]() |
HeaderCssClass | CSS Class for the header row |
![]() |
HeaderStyle | Style tags to be added to the header |
![]() |
ItemCssClass | CSS Class for the standard item row. Not set by default (ie. Document color) |
![]() |
ItemStyle | Style tags to be added to each item rendered |
![]() |
NextText | Text displayed for the next page link |
![]() |
PageBaseLink | Base Page link for Pager operation. Appends &Page=lnX to page to a specific page |
![]() |
PageCount | Internally used |
![]() |
PagerColumnAttributes | Attributes for the Pager row |
![]() |
PagerButtonCount | The max number of number buttons displayed on the Pager for the Grid. |
![]() |
PagerCssClass | Css class used for the Pager |
![]() |
PagerQueryStringName | Name of the QueryString key generated when creating paging URLs for page links |
![]() |
PagerText | Text displayed before the page listings |
![]() |
PageSize | If PageSize > 0 a pager is displayed |
![]() |
PreviousText | Text displayed for the previous page link |
![]() |
RowAttributeString | Attributes assigned to each row that is rendered |
![]() |
RowContent | Property that can be set in OnAfterRowRender or OnAfterRowsRendered to set the content of the entire row. If set the value returned replaces the entire row that is currently being rendered allowing… |
![]() |
TableAttributes | Attributes to be added to the table when rendered |
![]() |
TableStyle | Style tags to be added to the table when rendered |
![]() |
Width | Auto width by default |
Assembly: wwhtmlhelpers.prg