Skip to content

TWebJQXGrid

Description

Below is a list of the most important properties methods and events for TWebJQXGrid. The Grid is a powerful control that displays tabular data. It offers rich support for interacting with data, including paging, grouping, sorting filtering and editing.

Designtime Runtime

HTML template tag

The HTML tag the component can be associated with in an HTML template. Assign the ID attribute with a unique value and set the identical value to the ElementID property. Detailed information can be found in the Use of HTML templates topic.

HTML tag <DIV ID=”UniqueID”></DIV>
ElementID UniqueID

Properties for TWebJQXGrid

Property Description
Columns
Cells[Col, Row: Integer] Gets or sets the value of a grid cell based on the column and row index
Data
RowSelect[Row: Integer] Select a grid row based on the row index
FocusedCell Gets or sets the currently focused cell
ElementClassName Optionally sets the CSS classname when styling via CSS is used
ElementID Optionally sets the HTML element ID for a HTML element in the form HTML file the label needs to be connected with. When connected, no new control is created but the Delphi class is connected with the existing HTML element in the form HTML file
Options
SelectionMode Sets the selection mode. Options are single row, single cell, multiple rows, multiple cells
RowCount Sets the number of displayed rows
RowHeight Sets the height of a grid row
Theme Sets the name of the theme that is used to display the control

Methods for TWebJQXGrid

Property Description
SelectCell Selects a single cell based on the provided row and column index
SelectRow Selects a single row based on the provided row index

Events for TWebJQXGrid

Property Description
OnCellClick Event triggered when a cell is clicked
OnCellEditClick Event triggered when a cell is edited
OnCellEditDone Event triggered after a cell is edited
OnCellEditStart Event triggered when a cell is edited
OnCellEditValidate Event triggered after a cell is edited
OnCellSelect Event triggered when a cell is selected (via keyboard arrow keys)
OnFilter Event triggered when the grid is filtered
OnGetCellData Event triggered when a cell is rendered
OnPageChange Event triggered when changing to a different page
OnRowClick Event triggered when a row is clicked
OnRowSelect Event triggered when a row is selected (via keyboard arrow keys)
OnSort Event triggered when the grid is sorted