# DataGrid Not Displaying Results

**URL:** <https://forum.radzen.com/t/datagrid-not-displaying-results/6108>\
**Category:** Blazor Server\
**Created:** [December 23, 2020, 12:42am UTC](https://forum.radzen.com/t/datagrid-not-displaying-results/6108 "2020-12-23T00:42:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AdamsTech](https://forum.radzen.com/user_avatar/forum.radzen.com/adamstech/32/10123_2.png) [@AdamsTech](https://forum.radzen.com/u/AdamsTech)\
**Post date:** [December 23, 2020, 12:42am UTC](https://forum.radzen.com/t/datagrid-not-displaying-results/6108/1 "2020-12-23T00:42:12Z")

</div>

I've created custom methods in my application which are being referenced and hit when loading the "Customers" page. However, the DataGrid just displays the default "No records found" text. When debugging the application I am getting the expected results in code-behind file. However, the data will not display in the UI. I'm not sure what ya'll will need or not need to assist so I'm going to attach what I believe to be pertinent. I feel like some how I'm way over complicating this. The data source is being obtained from QuickBooks and then put into a list.

```
 List<ReddickRolloffs.Models.Customers> _getCustomers;
    protected List<ReddickRolloffs.Models.Customers> getCustomers
    {
        get
        {
            return _getCustomers;
        }
        set
        {
            if (!object.Equals(_getCustomers, value))
            {
                var args = new PropertyChangedEventArgs(){ Name = "getCustomers", NewValue = value, OldValue = _getCustomers };
                _getCustomers = value;
                OnPropertyChanged(args);
                Reload();
            }
        }
    }

    protected override async System.Threading.Tasks.Task OnInitializedAsync()
    {
    }

    protected async System.Threading.Tasks.Task CustomersGridLoadData(LoadDataArgs args)
    {
        var getCustomersResult = GetCustomers();
        getCustomers = getCustomersResult;
    }

```

!

 ![Capture-Set-Prop](https://forum.radzen.com/uploads/default/original/2X/5/522df05c37e641cc7a427fb42853c0aa0a8826a9.png)

---

<div class="post-metadata">

**Author:** ![enchev](https://forum.radzen.com/user_avatar/forum.radzen.com/enchev/32/16_2.png) [@enchev](https://forum.radzen.com/u/enchev)\
**Post date:** [December 23, 2020, 12:55am UTC](https://forum.radzen.com/t/datagrid-not-displaying-results/6108/2 "2020-12-23T00:55:33Z")

</div>

When binding with LoadData you need to set also Count for the DataGrid. Check our demo for reference:

> **[Blazor DataGrid - LoadData Event | Free UI Components by Radzen](https://blazor.radzen.com/datagrid-loaddata)**
>
> Blazor Data Grid custom data-binding via the LoadData event.

---

<div class="post-metadata">

**Author:** ![AdamsTech](https://forum.radzen.com/user_avatar/forum.radzen.com/adamstech/32/10123_2.png) [@AdamsTech](https://forum.radzen.com/u/AdamsTech)\
**Post date:** [December 23, 2020, 12:58am UTC](https://forum.radzen.com/t/datagrid-not-displaying-results/6108/3 "2020-12-23T00:58:07Z")

</div>

@enchev I'm really sorry for being a pain. I really am wanting to purchase Radzen professional. However, I'm trying to work out some kinks, if you will before hand. I have to make sure that I can build pretty much any app utilizing Radzen. So, I do appreciate all your help sir.
