aspnet-devexpress-dot-web-dot-aspxgridcolumndataeventargs.md
Gets whether you should provide data for the currently processed cell.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
public bool IsGetData { get; }
Public ReadOnly Property IsGetData As Boolean
| Type | Description |
|---|---|
| Boolean |
true if you need to provide data for the currently processed cell; otherwise, false.
|
Find control-specific information (for ASPxGridView, ASPxCardView or ASPxVerticalGrid) in the sections below.
If the IsGetData property returns true, the ASPxGridView.CustomUnboundColumnData event handler should provide data for the cell currently being processed. You need to obtain the data for this cell from a custom data source and assign it to the ASPxGridColumnDataEventArgs.Value property.
If the IsGetData property returns true, the ASPxCardView.CustomUnboundColumnData event handler should provide data for the cell currently being processed. You need to obtain the data for this cell from a custom data source and assign it to the ASPxGridColumnDataEventArgs.Value property.
If the IsGetData property returns true, the ASPxVerticalGrid.CustomUnboundRowData event handler should provide data for the cell currently being processed. You need to obtain the data for this cell from a custom data source and assign it to the ASPxGridColumnDataEventArgs.Value property.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the IsGetData property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
asp-net-web-forms-grid-editable-unbound-columns/CS/UnboundColumnForCommenting/Default.aspx.cs#L39
protected void ASPxGridView1_CustomUnboundColumnData(object sender, DevExpress.Web.ASPxGridViewColumnDataEventArgs e) {
if(e.IsGetData && e.Column.FieldName == "Comment") {
object key = e.GetListSourceFieldValue(e.ListSourceRowIndex, ASPxGridView1.KeyFieldName);
asp-net-web-forms-grid-editable-unbound-columns/VB/UnboundColumnForCommenting/Default.aspx.vb#L36
Protected Sub ASPxGridView1_CustomUnboundColumnData(ByVal sender As Object, ByVal e As DevExpress.Web.ASPxGridViewColumnDataEventArgs)
If e.IsGetData AndAlso Equals(e.Column.FieldName, "Comment") Then
Dim key As Object = e.GetListSourceFieldValue(e.ListSourceRowIndex, ASPxGridView1.KeyFieldName)
See Also
ASPxGridColumnDataEventArgs Class