Class MobileGridProperties<T>
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.JavaScript.Mobile.Models
Assembly: Syncfusion.EJ.dll
Syntax
public class MobileGridProperties<T> : GridPropertiesBase<T>, IMobileBase where T : class
Type Parameters
Name | Description |
---|---|
T |
Constructors
MobileGridProperties()
Declaration
public MobileGridProperties()
Properties
AllowColumnSelector
used to define whether the column selector can be allowed or not.
Declaration
[JsonProperty("allowColumnSelector")]
public bool AllowColumnSelector { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Caption
Set the caption for the grid
Declaration
[JsonProperty("caption")]
public string Caption { get; set; }
Property Value
Type | Description |
---|---|
System.String | The caption. |
Columns
Gets or sets the columns.
Declaration
[JsonProperty("columns")]
public List<MobileColumn<T>> Columns { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<MobileColumn<T>> | The columns. |
FilterSettings
This property is used to customize the filtering behavior of the grid.
Declaration
[JsonProperty("filterSettings")]
public MobileFilterSettings<T> FilterSettings { get; set; }
Property Value
Type | Description |
---|---|
MobileFilterSettings<T> | The filter settings. |
PageSettings
This property is used to modify pager default configuration.
Declaration
[JsonProperty("pageSettings")]
public MobilePageSettings<T> PageSettings { get; set; }
Property Value
Type | Description |
---|---|
MobilePageSettings<T> | The page settings. |
RenderMode
Changes the rendering mode of the grid. It can be auto, ios7, android, windows or flat.
Declaration
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty("renderMode")]
public RenderMode RenderMode { get; set; }
Property Value
Type | Description |
---|---|
RenderMode | The render mode. |
ScrollSettings
Used to enable grid column and row scrolling.
Declaration
[JsonProperty("scrollSettings")]
public MobileScrollSettings<T> ScrollSettings { get; set; }
Property Value
Type | Description |
---|---|
MobileScrollSettings<T> | The scroll settings. |
ShowCaption
Specifies the grid caption to be shown or not.
Declaration
[JsonProperty("showCaption")]
public bool ShowCaption { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
SortSettings
This property is used to modify sorting default configuration.
Declaration
[JsonProperty("sortSettings")]
public MobileSortSettings<T> SortSettings { get; set; }
Property Value
Type | Description |
---|---|
MobileSortSettings<T> | The sort settings. |
Methods
ShouldSerializeColumns()
Declaration
public bool ShouldSerializeColumns()
Returns
Type | Description |
---|---|
System.Boolean |
ShouldSerializeFilterOption()
Declaration
public bool ShouldSerializeFilterOption()
Returns
Type | Description |
---|---|
System.Boolean |
ShouldSerializePageOption()
Declaration
public bool ShouldSerializePageOption()
Returns
Type | Description |
---|---|
System.Boolean |
ShouldSerializeScrollOption()
Declaration
public bool ShouldSerializeScrollOption()
Returns
Type | Description |
---|---|
System.Boolean |
ShouldSerializeSortOption()
Declaration
public bool ShouldSerializeSortOption()
Returns
Type | Description |
---|---|
System.Boolean |