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

MemberDescription

OnAfterRowRender

OnAfterRowsRendered

OnBeforeRowRender

AddColumn

o.AddColumn(loColumn, lcHeaderText, lcType)

AddCursorColumns

Call this method to automatically add all of a cursor's columns to the Columns collection.

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

Allows you to get or set the current page to display

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

PagerButtonCount

The max number of number buttons displayed on the Pager for the Grid.

PagerColumnAttributes

Attributes for the Pager row

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 you to take over the rendering for a row completely in code.

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

Requirements

Assembly: wwhtmlhelpers.prg

© West Wind Technologies, 1996-2022 • Updated: 06/14/17
Comment or report problem with topic