Table of Contents

Class WebGrid

Namespace: FastReport.Olap.Web
Assembly: FastCube.Core.Web.dll

Base web container for the components.

public class WebGrid

Inheritance

objectWebGrid

Derived

WebCubeGrid, WebSliceGrid

Constructors

WebGrid()

Creates a defaul instance of the class

public WebGrid()

Properties

ActiveProvider

Gets of sets the active provider.

public CustomNodeProvider ActiveProvider { get; set; }

Property Value

CustomNodeProvider

ControllerName

Gets the current controller name.

public virtual string ControllerName { get; }

Property Value

string

Height

Gets or sets height of the container.

public string Height { get; set; }

Property Value

string

ID

Unique ID of this instance. Automatically generates on creation.

public string ID { get; }

Property Value

string

Inline

Adds "display: inline-*" to html container. Default value: true.

public bool Inline { get; set; }

Property Value

bool

ShowToolbar

Gets or sets the value to show or hide the toolbar.

public bool ShowToolbar { get; set; }

Property Value

bool

UserData

Property to store user data.

public object UserData { get; set; }

Property Value

object

Width

Gets or sets width of the container.

public string Width { get; set; }

Property Value

string

Methods

GetJSConstructor(string)

Returns conctructor for js code.

protected virtual string GetJSConstructor(string routeBasePath)

Parameters

routeBasePath string

Returns

string

GetJSResources()

Returns list of js files.

protected virtual string[] GetJSResources()

Returns

string[]

RemoveFromCache()

Force report to be removed from internal cache

public void RemoveFromCache()

Render()

Returns a string representation of the current container in HTML format.

public Task<HtmlString> Render()

Returns

Task<HtmlString>

RenderSync()

Returns a string representation of the current container in HTML format.

public HtmlString RenderSync()

Returns

HtmlString

Remarks

Do not use this method in async context, use FastReport.Olap.Web.WebGrid.Render method!