Suoranta.WebApp.Types Namespace
Suoranta.WebApp - Developer API

AdvancedBuilders<(Of <(<'TPageModel, TController>)>)>..::..GridBuilder<(Of <(<'TModel>)>)> Methods

The AdvancedBuilders<(Of <(<'TPageModel, TController>)>)>..::..GridBuilder<(Of <(<'TModel>)>)> generic type exposes the following members.

Methods


  Name Description
Protected method ActionColumns
Configures default command columns
Protected method BeforeRendering
Protected method ButtonIcon

Return Value

Caption for button of type
Protected method ButtonText

Return Value

Caption for button of type
Protected method ConfigureDataSource
Configures DataSourceBuilder Can be overridden, but this is not excepted to be needed
Protected method CreateBuilder
Public method CustomCreateButton
Configurer of Create
Protected method CustomCreateHandler

Return Value

JavaScript function template for the click handler of Create
Public method CustomToolbarButton
Specifies the builder to add the custom button to toolbar of the grid.
Protected method CustomToolBarButtonHtmlTemplate

Return Value

HTML representation of custom toolbar button.
Protected method CustomToolBarButtonTemplate
Defines Kendo template for custom toolbar button. Template is rendered to the view by the presentation engine.
Public method DefaultSettings
In addition to this, Name(String), [SetDataSource{TProp}(Expression{Func{TModel, TProp}}, Action{RouteValueDictionary})] should be called, and optionally PopupEditor(String)
Public method DeleteSelectedButton
Configurer of GridDeleteSelected.
Protected method DeleteSelectedHandler

Return Value

JavaScript function template for the click handler of GridDeleteSelected.
Protected method DestroyBuilder
Protected method EndpointOf

Return Value

Endpoint for button of the type.
Public method Equals(System.Object) (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Name
Set name/id of the widget and register it to DOM
Public method ParameterRouting
Public method PopupEditor
Configures the grid to use popup editor from templateViewId.
Public method RowIdProperty<(Of <<'(TProp>)>>)
Define identifier property for data model row objects
Public method SetDataSource<(Of <<'(TProp>)>>)
Sets up CRUD operations in accordance to class the class specification This combines ParameterRouting(Action<(Of <<'(RouteValueDictionary>)>>)) and ConfigureDataSource(DataSourceBuilder<(Of <<'(TModel>)>>), Selector)
Public method ToClientTemplate
Public method ToHtmlString
Public method ToolBar(Buttons)
Protected method ToolBar()()()()
Configure toolbar buttons
Public method ToString
Protected method UpdateBuilder