[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.TreeViewBuilder.LazyLoadFunction

LazyLoadFunction Method

LazyLoadFunction(string)

Configurates LazyLoadFunction. Sets a client function that loads child nodes on demand.

Declaration
public TreeViewBuilder LazyLoadFunction(string value)
Parameters
Type Name Description
string value

The value.

Returns
Type Description
TreeViewBuilder

Current builder.

Remarks

It takes two parameters: the node being and a callback to be invoked when the data becomes available. The callback function tells the TreeView that the node loading process has been completed. It should always be called, even if there are errors when loading the data.