Skip to main content

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.

GridView Control

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

Related Server-Side API:

See Also