Open Closed

Show no data available in Datagrid #3178


User avatar
0
safi created

Hi

I want to show not data available if no records come. I am using Abp 4.4.3 and want to show in blazorise datagrid.

  • ABP Framework version: v4.4.3
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no

5 Answer(s)
  • User Avatar
    0
    safi created

    PLease reply!

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    If you are using a AbpExtensibleDataGrid component, it has done.

    https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.BlazoriseUI/Components/AbpExtensibleDataGrid.razor#L26

  • User Avatar
    0
    safi created

    Hi,

    If you are using a AbpExtensibleDataGrid component, it has done.

    https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.BlazoriseUI/Components/AbpExtensibleDataGrid.razor#L26

    I am using blazorise datagrid

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    you can see ABP also the blazorise datagrid

    Try

    EmptyTemplate> <Row Class="w-100 align-items-center" Style="height: 150px;"> <Column> <Heading Size="HeadingSize.Is4" Alignment="TextAlignment.Center">No data available</Heading> </Column> </Row> </EmptyTemplate>

  • User Avatar
    0
    safi created

    you can see ABP also the blazorise datagrid

    Try

    EmptyTemplate> <Row Class="w-100 align-items-center" Style="height: 150px;"> <Column> <Heading Size="HeadingSize.Is4" Alignment="TextAlignment.Center">No data available</Heading> </Column> </Row> </EmptyTemplate>

    Ok thanks so we need to add this code after datagridcolumns?

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on July 11, 2025, 11:35