Grid
Properties
Ai - GridAiSettings
Defines the configuration options for the AI AssistantWindow in the Grid. If set to false, the AI AssistantWindow is disabled.
DataSource - DataSource
Gets or sets the DataSource.
DataSourceId - String
ClientRowTemplate - String
ClientRowTemplateHandler - String
ClientAltRowTemplate - String
ClientAltRowTemplateHandler - String
ClientDetailTemplateHandler - String
ClientDetailTemplateId - String
ClientDetailTemplate - String
Width - String
Height - String
AutoGenerateColumns - Boolean
Editable - GridEditableSettings
Gets or sets the PopUp.
ToolBar - GridToolBarSettings
Component member.
ContextMenu - GridContextMenuSettings
Gets or sets the Enabled.
Selectable - GridSelectableSettings
Enables/disables the selectable option.
Filterable - GridFilterableSettings
Enabled member.
Scrollable - GridScrollableSettings
Gets or sets the Enabled.
Pageable - GridPageableSettings
Gets or sets the AlwaysVisible property
Resizable - GridResizableSettings
Gets or sets the Enabled.
Reorderable - GridReorderableSettings
Gets or sets the Enabled.
Messages - GridMessages
ExpandCollapseColumnHeader member.
Columns - IList
EnableCustomBinding - Boolean
Mobile - MobileMode
Size - Nullable
PrefixUrlParameters - Boolean
EditorHtml - String
AllowCopy - GridAllowCopySettings
Changes the delimeter between the items on the same row. Use this option if you want to change the default TSV format to CSV - set the delimeter to comma ','.
AllowPaste - Nullable
AutoBind - Nullable
ColumnResizeHandleWidth - Nullable
ColumnMenu - GridColumnMenuSettings
Messages member.
EncodeTitles - Nullable
Excel - GridExcelSettings
If set to true the grid will export all pages of data. By default the grid exports only the current page.
Groupable - GridGroupableSettings
Messages member.
Navigatable - Nullable
NoRecords - GridNoRecordsSettings
The template which is rendered when current view contains no records.
Pdf - GridPdfSettings
Exports all grid pages, starting from the first one.
PersistSelection - Nullable
Search - GridSearchSettings
The fields by which the grid will search
SmartBox - GridSmartBoxSettings
Gets the SmartBox event handlers.
Sortable - GridSortableSettings
If set to true the user can get the grid in unsorted state by clicking the sorted column header.
StackedLayoutSettings - GridStackedLayoutSettingsSettings
Sets the amount of columns in which the stacked cells will be displayed. If set as array, the size of the array represents the number of columns, and the values represent the column widths. Possible values are: string, number, and object.
StatusBarTemplateHandler - String
LoaderType - Nullable
AdaptiveMode - Nullable
DataLayoutMode - Nullable
Events - IDictionary
Id - String
SanitezeId - Boolean
Writer - IJavaScriptWriter
Initializer - IJavaScriptInitializer
IsInClientTemplate - Boolean
IsSelfInitialized - Boolean
HasDeferredInitialization - Boolean
HtmlAttributes - IDictionary
ScriptAttributes - IDictionary
HtmlHelper - IHtmlHelper
ModelMetadataProvider - IModelMetadataProvider
Name - String
Explorer - ModelExplorer
Selector - String
IdPrefix - String
ViewContext - ViewContext
ValueProvider - IValueProvider
UrlGenerator - IUrlGenerator
HtmlEncoder - HtmlEncoder
HasClientComponent - Boolean
UseMvvmInitialization - Boolean
Methods
VisibleColumns()
Gets the visible columns of the grid.
ProcessSettings()
ProcessSettings method.
WriteInitializationScript(System.IO.TextWriter)
WriteInitializationScript method.
Parameters
writer - System.IO.TextWriter
Serialize()
Serializes the component settings to a dictionary.
RETURNS
A dictionary of settings.
Render()
Renders the component.
ToClientTemplate()
ToClientTemplate method.
ToHtmlString()
ToHtmlString method.
RETURNS
The result.
VerifySettings()
VerifySettings method.
WriteDeferredStyles(System.IO.TextWriter)
Writes the deferred styes.
Parameters
writer - System.IO.TextWriter
The writer.
DeferStyles()
DeferStyles method.
GetHtml(System.Boolean)
GetHtml method.
Parameters
includeScript - System.Boolean
RETURNS
The result.
GetInitializator()
GetInitializator method.
RETURNS
The result.
WriteDeferredScriptInitialization()
WriteDeferredScriptInitialization method.