Mewriick / Blazor.FlexGrid

GridView component for Blazor
MIT License
199 stars 35 forks source link

No results show empty grid as well as message. #112

Closed MAndrade1980 closed 4 years ago

MAndrade1980 commented 4 years ago

Hi, we're running into another issue we are hoping you can shed some light on. When there are no results to display, a message is shown, which we can modify using the config. Is there a way to show the message but also show the empty grid? So show the grid with columns, and in the body show the empty list message?

Mewriick commented 4 years ago

Hello @MAndrade1980 now there is not possibility render message and grid header. I will add this feature. It will be configurable via HasEmptyItemsMessage

MAndrade1980 commented 4 years ago

Many thanks!

Mewriick commented 4 years ago

Hello @MAndrade1980 ,

new version is released. Please use new HasEmptyItemsMessage(string message, bool renderGridHeader = true) overload for desired behavior.

MAndrade1980 commented 4 years ago

Looks great, thanks!