Ends in:
7 DAYS
10 HRS
25 MIN
29 SEC
Ends in:
7 D
10 H
25 M
29 S
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?

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06