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
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

5 Answer(s)
  • User Avatar
    0
    safi created

    PLease reply!

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    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

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • 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

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    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>

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • 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?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
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.8.0-preview. Updated on September 21, 2026, 06:18
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.