Click or drag to resize

SqlGridWidget Class

The class ScalarSqlCountWidget provides SQL Query grid widget
Inheritance Hierarchy

Namespace:  Dynamicweb.Dashboards.Widgets
Assembly:  Dynamicweb.Dashboards (in Dynamicweb.Dashboards.dll) Version: 2.9.4
Syntax
[AddInNameAttribute("SQL Query Table")]
[AddInDescriptionAttribute("SQL Query Table")]
[AddInIconAttribute(KnownIcon.Straighten)]
public class SqlGridWidget : GridWidget

The SqlGridWidget type exposes the following members.

Constructors
  NameDescription
Public methodSqlGridWidget
The class ScalarSqlCountWidget constructor
Top
Properties
  NameDescription
Public propertyColumns
Gets or sets widget size
(Inherited from DashboardWidget.)
Public propertyCreatedDate
Gets the created date and time.
(Inherited from DashboardWidget.)
Public propertyElement
The to be shown
(Inherited from DashboardElementWidget.)
Public propertyId
Gets widget Id
(Inherited from DashboardWidget.)
Protected propertyInstantFetch
Gets or sets value indicating whether data should be fetch to widget instantly, otherwise - using ajax
(Inherited from GridWidget.)
Public propertyMaxRecords
Gets or sets sql query
Public propertyModifiedDate
Gets the last modified date and time.
(Inherited from DashboardWidget.)
Protected propertyOnRowClick
Gets or sets action for row on click event
(Inherited from GridWidget.)
Public propertyOrder
Gets or sets widget order
(Inherited from DashboardWidget.)
Public propertyQuery
Gets or sets sql query
Public propertyShowTitle
Gets or sets value indicating whether to show widget title.
(Inherited from DashboardWidget.)
Public propertyTitle
Gets or sets widget title
(Inherited from DashboardWidget.)
Public propertyTitleAction
Gets or sets widget title action
(Inherited from DashboardWidget.)
Top
Methods
  NameDescription
Public methodFetch
Fetches widget with data
(Inherited from GridWidget.)
Public methodGetColumns (Overrides GridWidgetGetColumns.)
Public methodGetIdSuitableString (Inherited from ConfigurableAddIn.)
Public methodGetItems (Overrides GridWidgetGetItems(IDashboard, String).)
Public methodGetOptions
Return dropdown options
(Inherited from DashboardWidget.)
Public methodGetParametersToXml (Inherited from ConfigurableAddIn.)
Public methodGetParametersToXml(Boolean) (Inherited from ConfigurableAddIn.)
Public methodLoadParametersFromXml (Inherited from ConfigurableAddIn.)
Public methodRender
The method render widget and return html
(Inherited from DashboardElementWidget.)
Public methodRenderAdditionalContent (Inherited from ConfigurableAddIn.)
Public methodScriptDependencies
Specifies relative paths to all script files that this widget is dependent upon.
(Inherited from DashboardWidget.)
Public methodSetValue (Inherited from ConfigurableAddIn.)
Public methodStylesheetDependencies
Specifies relative paths to all style files that this widget is dependent upon.
(Inherited from DashboardWidget.)
Public methodUpdateFromPost (Inherited from ConfigurableAddIn.)
Top
See Also