Closed JCQuirozL closed 2 years ago
DataGrid has a LoadingTemplate
template that you can use to place anything inside to show the progress. An example can be seen at https://blazorise.com/docs/extensions/datagrid/templates
I haven't tried it but in theory, placing a LoadingIndicator
inside of LoadingTemplate
should work.
@glutio Do you have any advice?
Does it work with other components? This feels like css is not loading but maybe something else. I'm away from my computer for the rest of the week but I will take a look at it on Saturday. Thanks!
Does it work with other components? This feels like css is not loading but maybe something else. I'm away from my computer for the rest of the week but I will take a look at it on Saturday. Thanks!
Nope, as I said, I have placed it wrapping buttons, modals, or other and it's the same behavior
DataGrid has a
LoadingTemplate
template that you can use to place anything inside to show the progress. An example can be seen at https://blazorise.com/docs/extensions/datagrid/templatesI haven't tried it but in theory, placing a
LoadingIndicator
inside ofLoadingTemplate
should work.
I tried this, but now it raises the error: 'The render handle is not yet assigned.'
Nope, as I said, I have placed it wrapping buttons, modals, or other and it's the same behavior
This looks like you did not include loading indicator css in your project. Or if you did you may have indicated wrong version. Or otherwise somehow css is not loading. See docs and Blazorise Demo project for sample of how to include css. Although, I suspect you did include the css if you followed the doc but make sure it is actually loaded (included in the right location etc)
Nope, as I said, I have placed it wrapping buttons, modals, or other and it's the same behavior
This looks like you did not include loading indicator css in your project. Or if you did you may have indicated wrong version. Or otherwise somehow css is not loading. See docs and Blazorise Demo project for sample of how to include css. Although, I suspect you did include the css if you followed the doc but make sure it is actually loaded (included in the right location etc)
You were so right, I don't know how could I forget something so obvious, I just added the css in the index.html and it worked as I wanted, this so silly, sorry guys, and Thanks a lot again
Describe the bug I have a Blazorise LoadingIndicator component wrapping a DataGrid, but no matter where I place it always shows at the bottom (I've tried to place it wrapping buttons, anda others components, even I've place it on top or bottom, with FullScreen attribute. In the code I've place a ChildContent, but I've tried it out without it too.
To Reproduce
Expected behavior Tho show LoadingIndicator in the center and FullScreen
Screenshots
Aditional context I'm kind of new in Blazor and Blazorise, and I always try to read the official documentation before posting an issue.
Thanks in advance for the help.