Table of Contents

Class GridWidget

Namespace: Casewhere.Models.Pages.Widgets.Grid
Assembly: Casewhere.Models.dll

Represents a grid widget. It displays data in a table with rows and columns

public class GridWidget : Widget, IIdentity

Inheritance

objectEntityWidgetGridWidget

Implements

IIdentity

Inherited Members

Widget.GetResourceName(), Widget.Name, Widget.Title, Widget.ProductId, Widget.RequireCaseContext, Widget.ShowInPanel, Widget.Collapsible, Widget.Reusable, Widget.Height, Widget.AutoHeightMode, Widget.EnableFiltering, Widget.EnableFullTextSearch, Widget.EnableRefresh, Widget.Actions, Widget.DataSourceId, Widget.Query, Widget.ProjectFields, Widget.Modes, Widget.RowTemplate, Widget.Type, Widget.AccessRule, Widget.Tags, Widget.EnableInheritedSecurityRules, Widget.AccessibilitySettings, Widget.ParallelDataLoading, Widget.IsLocked, Entity.GetResourceName(), Entity.Id, Entity.Version, Entity.CreatedBy, Entity.CreatedAt, Entity.ModifiedBy, Entity.ModifiedAt, object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Extension Methods

ObjectExtension.ConvertToBsonValue(object), EnumExtensions.DeepClone<GridWidget>(GridWidget)

Constructors

GridWidget()

public GridWidget()

Properties

Columns

Gets or sets the columns of the grid.

public IList<GridColumn> Columns { get; set; }

Property Value

IList<GridColumn>

EmptyMessage

public string EmptyMessage { get; set; }

Property Value

string

EnableCustomizeVisibilityColumns

public bool EnableCustomizeVisibilityColumns { get; set; }

Property Value

bool

EnableHorizontalScrolling

Gets or sets a value indicating whether horizontal scrolling is enabled for the grid.

public bool EnableHorizontalScrolling { get; set; }

Property Value

bool

EnableMultiColumnSorting

Gets or sets a value indicating whether multi-column sorting is enabled for the grid.

public bool EnableMultiColumnSorting { get; set; }

Property Value

bool

EnableSearchFieldCollapsible

public bool EnableSearchFieldCollapsible { get; set; }

Property Value

bool

EnableVerticalTableOnMobile

public bool EnableVerticalTableOnMobile { get; set; }

Property Value

bool

EnableVirtualization

public bool EnableVirtualization { get; set; }

Property Value

bool

ExportToExcelConfig

Gets or sets the configuration for exporting the grid to Excel.

public ExportToExcelConfig ExportToExcelConfig { get; set; }

Property Value

ExportToExcelConfig

MinimumSearchWordLength

public int MinimumSearchWordLength { get; set; }

Property Value

int

PagingConfig

Gets or sets the paging configuration for the grid.

public PagingConfig PagingConfig { get; set; }

Property Value

PagingConfig

RowHeight

public int RowHeight { get; set; }

Property Value

int

Type

Gets the type of the widget.

public override string Type { get; }

Property Value

string

WidgetPreferenceVersion

public int WidgetPreferenceVersion { get; set; }

Property Value

int