Skip to main content
A newer version of this page is available. .

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());
}

Related Server-Side API:

See Also