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
object ← Entity ← Widget ← GridWidget
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
EmptyMessage
public string EmptyMessage { get; set; }
Property Value
EnableCustomizeVisibilityColumns
public bool EnableCustomizeVisibilityColumns { get; set; }
Property Value
EnableHorizontalScrolling
Gets or sets a value indicating whether horizontal scrolling is enabled for the grid.
public bool EnableHorizontalScrolling { get; set; }
Property Value
EnableMultiColumnSorting
Gets or sets a value indicating whether multi-column sorting is enabled for the grid.
public bool EnableMultiColumnSorting { get; set; }
Property Value
EnableSearchFieldCollapsible
public bool EnableSearchFieldCollapsible { get; set; }
Property Value
EnableVerticalTableOnMobile
public bool EnableVerticalTableOnMobile { get; set; }
Property Value
EnableVirtualization
public bool EnableVirtualization { get; set; }
Property Value
ExportToExcelConfig
Gets or sets the configuration for exporting the grid to Excel.
public ExportToExcelConfig ExportToExcelConfig { get; set; }
Property Value
MinimumSearchWordLength
public int MinimumSearchWordLength { get; set; }
Property Value
PagingConfig
Gets or sets the paging configuration for the grid.
public PagingConfig PagingConfig { get; set; }
Property Value
RowHeight
public int RowHeight { get; set; }
Property Value
Type
Gets the type of the widget.
public override string Type { get; }
Property Value
WidgetPreferenceVersion
public int WidgetPreferenceVersion { get; set; }