This is a migrated thread and some comments may be shown as answers.

Hiding the progress indicator for ajaxRequest

2 Answers 268 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 19 Mar 2017, 04:37 PM

Hi,

I am making the following call:

    splitter.ajaxRequest("#ContentPane", path);

I would like to hide the progress indicator and have tried using:

    kendo.ui.progress($("#ContentPane"), false);
    kendo.ui.progress($("#splitter"), false);

Neither of which work. Can someone enlighten me on how to best do this? I still want the progress indicator to work on other controls when doing an Ajax request, such as the treeview/dropdown...

 

Thanks,

 

Matt

2 Answers, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 21 Mar 2017, 12:55 PM

Hello Matt,

You can just remove the rendered span.k-i-loading element. https://github.com/telerik/kendo-ui-core/blob/master/src/kendo.splitter.js#L253

Here you are an example: http://dojo.telerik.com/IGuga.

Regards,
Ianko
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Matt
Top achievements
Rank 1
answered on 21 Mar 2017, 01:03 PM

Perfect, thanks a lot!

 

Matt

Tags
Splitter
Asked by
Matt
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Matt
Top achievements
Rank 1
Share this question
or