Display custom position on Kendo Loading Indicator

1.6k Views Asked by At

how to change Kendo Loading position ? The middle is always

kendo.ui.progress($("#main-content"), true);

kendo.ui.progress($("#main-content"), false);

1

There are 1 best solutions below

0
On BEST ANSWER

Add a style to the k-loading-image element to specify the position of its background image(which is the loading spinner), i.e.

#main-content > .k-loading-mask > .k-loading-image {
    background-position-x: 10px;
    background-position-y: 10px;
}

Example: http://dojo.telerik.com/@Stephen/iKiCI