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

ASPxClientGridView.GetEditFormLayoutItemByColumn(column) Method

Returns the form layout item.

Declaration

GetEditFormLayoutItemByColumn(
    column: ASPxClientGridViewColumn | number | string
): ASPxClientLayoutItem

Parameters

Name Type Description
column ASPxClientGridViewColumn | number | string

The column, its index or name.

Returns

Type Description
ASPxClientLayoutItem

The form layout item.

Remarks

The following example illustrates how to find the layout item whose column’s name is “fireDate” and then switch its visibility on a click.

function onShowHideInfoClick(s, e) {
    var fireDateItem = clientGrid.GetEditFormLayoutItemByColumn("fireDate");
    fireDateItem.SetVisible(false);
}

Related Server-Side API:

See Also