setSourcesCaption (caption);
caption. Label text.
The setSourcesCaption method sets data source name to be displayed in the breadcrumb chain.
To execute the example, the page must contain the WbkDataBox component named wbkDataBox (see WbkDataBox Constructor), and also the following code must be added in the event handler that processes document opening:
//Set breadcrumb text wbkDataBox.setSourcesCaption("Source");
After executing the example data source name shown in the breadcrumb chain changes to "Source":
See also: