All docs
V19.2
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

ASPxClientGridView.GetEditFormLayoutItemOrGroup(name) Method

Returns the form layout item or group.

Declaration

GetEditFormLayoutItemOrGroup(name: string): ASPxClientLayoutItem

Parameters

Name Type Description
name string

The item's or group's name.

Returns

Type Description
ASPxClientLayoutItem

The layout item.

Remarks

The following example illustrates how to find the layout group whose name is "groupContacInfo" and then switch its visibility when a user clicks the the "Show Details..." hyperlink.

function onShowHideInfoClick(s, e) {
    var contactLayoutGroup = clientGrid.GetEditFormLayoutItemOrGroup("groupContactInfo");
    contactLayoutGroup.SetVisible(!contactLayoutGroup.GetVisible());
}
See Also