Table of Contents

Class ListWidget

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

ListWidget provides a wide range of flexibility to customize the widget's appearance and behavior. It displays data in a more compact layout rather than a table with rows and columns

public class ListWidget : Widget, IIdentity

Inheritance

objectEntityWidgetListWidget

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<ListWidget>(ListWidget)

Constructors

ListWidget()

public ListWidget()

Properties

DisplayType

Gets or sets the display type of the list widget.

public DisplayType DisplayType { get; set; }

Property Value

DisplayType

EmptyMessage

public string EmptyMessage { get; set; }

Property Value

string

EnableSearchFieldCollapsible

public bool EnableSearchFieldCollapsible { get; set; }

Property Value

bool

PagingConfig

Gets or sets the paging configuration of the list widget.

public PagingConfig PagingConfig { get; set; }

Property Value

PagingConfig

SortingFields

public IList<SortingField> SortingFields { get; set; }

Property Value

IList<SortingField>

Template

Gets or sets the template for the list items in the list widget.

public ListItemTemplate Template { get; set; }

Property Value

ListItemTemplate

Type

Gets the type of the widget.

public override string Type { get; }

Property Value

string