Unplanned
Last Updated: 14 Feb 2021 09:23 by ADMIN
BlueOcean
Created on: 02 Feb 2021 13:59
Category: Grid
Type: Feature Request
7
Customize grid loader template

It would be really nice now that we have a grid loader, to be able to customize this using a custom template.

Currently it fixes even the animation type, so while we have chosen a different enum (Pulsing) for all our loaders, our grids now look different because it is not possible currently to change the grid loader beyond turning it on and off.

5 comments
ADMIN
Marin Bratanov
Posted on: 14 Feb 2021 09:23

Thank you for your feedback, Mark, I appreciate it.

--Marin

BlueOcean
Posted on: 13 Feb 2021 17:39

Hi Marin,

Yup exactly something that, I was originally thinking like LoaderSettings too but you're right, GridSettings might make more sense in the long term as you continue to add more settings.

Cheers,

Mark

ADMIN
Marin Bratanov
Posted on: 13 Feb 2021 11:51

Hi Mark,

Considering the loaded already has a template, it might be possible to have both at once.

Another question would be where and how you would expect that exposed - a direct tag under the grid like <LoaderSettings> or a nested tag in the grid like <GridSettings> that can, in the future, maybe hold more than <LoaderSettings>.

Regards,
Marin Bratanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

BlueOcean
Posted on: 13 Feb 2021 10:46

Hi Marin,

I can think of two alternatives here.

  1. With the first option, I would expect to see the properties of the build-in loader as you mentioned
  2. With the second option, we could have the possibility to replace the loader template entirely much in the same way as you can do with a LoaderContainer:

   <Template>
        <TelerikLoader></TelerikLoader>
        <div>
            <span><TelerikIcon Icon="information"></TelerikIcon></span>
            <span>Please wait, the application is loading...</span>
        </div>
    </Template>

Regarding the delay period after which the loader appears to be honest it's not something I had thought about. I guess if it were to be exposed it would be exposed regardless of options 1 or 2, but it's not something that would be particularly important to us, the current delay seems sensible.

Both options 1 and 2 would be nice, whichever is easiest to implement and maintain for you guys. Our original motivation for this request is that we have chosen throughout our app a specific loader animation, but our grids now display a different loader animation type which we have no control over, which is to say that if it's easier to simply expose that enum property rather than supporting a template outright, it would be more than enough already.

Cheers,

Mark

ADMIN
Marin Bratanov
Posted on: 02 Feb 2021 17:51

Hi Mark,

It would be great if you could add an example of how you would expect that to be exposed for configuration. It would be nice to keep in mind that there might be more configuration settings for it - such as default time after which it shows up (600ms at the moment), maybe some of the built-in loader settings could be exposed in addition to a template.

 

Regards,
Marin Bratanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.