Hide

YetaWF.ComponentsHTML Package Documentation

Display
Print

YetaWF.Modules.ComponentsHTML.Components.DropDownListEditComponentBase<TYPE>.RenderDataSource Method

Render a JSON object with data and tooltips for a DropDownList component.

Class: YetaWF.Modules.ComponentsHTML.Components.DropDownListEditComponentBase<TYPE>
Namespace: YetaWF.Modules.ComponentsHTML.Components
Assembly: YetaWF.ComponentsHTML

Syntax

public static string RenderDataSource(
    List<YetaWF.Core.Components.SelectionItem<TYPE>> list,
    string? extraData );

Parameters

list

A list of all items part of the DropDownList component.

extraData

Optional data to be returned in JSON object as 'extra:' data.

Return Value

A JSON object containing data and tooltips to update the contents of a DropDownList.

See Also YetaWF.Modules.ComponentsHTML.Components.DropDownListEditComponentBase<TYPE> ClassYetaWF.ComponentsHTML PackageYetaWF.Core