RECOMMENDATION: If you are using a version of The Portal Connector higher than 4.0, we strongly recommend utilizing the MVC based widgets and components to create your site. This documentation is for legacy purposes only and will soon be deprecated.

get_container()

Returns the container element of the widget.     

Example-EXAMPLE-LISTVIEW FETCH CONTAINER ELEMENT

tpc.page.listview.get_container();
Parameters

None

Returns

jQuery Object     

get_element()

Returns the element of the widget.

Example-EXAMPLE- LISTVIEW FETCH ELEMENT

tpc.page.listview.get_element();
Parameters

None

Returns

jQuery Object

hide()

Hides the widget from the page.

Example-EXAMPLE- HIDE LISTVIEW

tpc.page.listview.hide();
Parameters

None

Returns

None

show()

Shows the widget on the page.

Example-EXAMPLE-SHOW LISTVIEW

tpc.page.listview.show();
Parameters

None

Returns

None

toggle()

toggle the visibility of the widget on the page.

Example-EXAMPLE-TOGGLE LISTVIEW

tpc.page.listview.toggle();
Parameters

None

Returns

None

get_listView()

Returns the Kendo ListView Object.     

Example-EXAMPLE-LISTVIEW FETCH OBJECT

tpc.page.listview.get_listView();
Parameters

None

Returns

Kendo List View Object: kendo.ui.ListView

get_kendoWindow()

Returns the kendo window of the widget (add/edit set to popup window).     

Parameters

None

Returns

Kendo Window Object  : kendo.ui.Window

get_model()

Returns the model object ​of the widget, which contains several useful properties related to the widget.

Example-EXAMPLE- LISTVIEW FETCH MODEL

tpc.page.listview.get_model();
Parameters

None

Returns

Object