Skip to main content

ASPxClientGridView.GetEditFormLayoutItemByColumn(column) Method

Returns the form layout item.

Declaration

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

Parameters

Name Type Description
column string | number | ASPxClientGridViewColumn

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.

GridView Control

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

Related Server-Side API:

See Also