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.
function onShowHideInfoClick(s, e) {
var fireDateItem = clientGrid.GetEditFormLayoutItemByColumn("fireDate");
fireDateItem.SetVisible(false);
}
Related Server-Side API:
- EditFormLayoutCreated - Fires when the edit form layout is created.
- FindLayoutItemOrGroup(String) - Returns a layout item or group with the specified name.
See Also