GridSettings

Settings for the HxGrid and derived components.

API

Other properties

Name Type Description
ContentNavigationMode GridContentNavigationMode? Strategy how data are displayed in the grid (and loaded to the grid).
FooterRowCssClass string Custom CSS class to render with footer tr element.
HeaderRowCssClass string Custom CSS class to render with header tr element.
ItemRowCssClass string Custom CSS class to render with data tr element.
ItemRowHeight float? Height of the item row used for infinite scroll calculations (GridContentNavigationMode.InfiniteScroll).
OverscanCount int? Infinite scroll (GridContentNavigationMode.InfiniteScroll): Gets or sets a value that determines how many additional items will be rendered before and after the visible region. This help to reduce the frequency of rendering during scrolling. However, higher values mean that more elements will be present in the page.
PagerCssClass string Custom CSS class to render with pager.
PageSize int? Page size for GridContentNavigationMode.Pagination.
PlaceholdersRowCount int? Number of rows with placeholders to render.
Responsive bool? Allows the table to be scrolled horizontally with ease accross any breakpoint (adds the table-responsive class to the table).
ShowFooterWhenEmptyData bool? Indicates whether to render footer when data are empty.
SortAscendingIcon IconBase Icon to display ascending sort direction.
SortDescendingIcon IconBase Icon to display descending sort direction.
TableContainerCssClass string Custom CSS class to render with div element wrapping the main table (HxPager is not wrapped in this div element).
TableCssClass string Custom CSS class to render with main table element.

Methods

Method Returns Description
<Clone>$() GridSettings

Static Methods

Method Type Description
op_Equality (GridSettings left, GridSettings right) bool
op_Inequality (GridSettings left, GridSettings right) bool
An unhandled error has occurred. Reload 🗙