Class: cWebMenuColumnRestorer
Properties | Events | Methods | Index of Classes
Web Framework column restorer menu class
Hierarchy
cObject > cWebBaseObject > cWebObject > cWebBaseUIObject > cWebMenuItem > cWebMenuColumnRestorer
Show full hierarchy and direct subclasses
- cObject
- cWebBaseObject
- cWebObject
- cWebBaseUIObject
- cWebMenuItem
- cWebMenuColumnRestorer
Library: Web Application Class Library
Package: cWebMenuColumnRestorer.pkg
Description
cWebMenuColumnRestorer is a menu item that can restore the originally designed layout should a user have dragged columns around or resized them.
The cWebMenuColumnRestorer is shown in the web list's header menu if pbAllowColumnReordering is set to True.
As opposed to cWebMenuColumnList, it cannot and should not have children, as it is a single button.
Note that the control can only be used in a cWebContextMenu and only with either the parent or phoControl set to a cWebList-compatible control.
Sample
Object oHeaderMenu is a cWebContextMenu
Set peContext to C_WebUIContextListHead
Object oColumnRestorer is a cWebMenuColumnRestorer
End_Object
Object oExtra1 is a cWebMenuItem
Set pbBeginGroup to True
Set psCaption to "Hello"
End_Object
Object oExtra2 is a cWebMenuItem
Set psCaption to "Hello2"
End_Object
...
End_Object