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

[Solved] Grid - Busy Icon

0 Answers 101 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Redsquare
Top achievements
Rank 1
Redsquare asked on 31 Mar 2010, 01:54 PM
Found a little issue with the following js method.
If the data loads faster than the specified timeout it changes the class and leaves the spinner spinning.

I have changed this to 10ms locally and it seems to cure the issue

 showBusy: function() {
            this.busyTimeout = setTimeout($.proxy(function() {
                $('.t-status .t-icon', this.element).addClass('t-loading');
            }, this), 100);
        },
Tags
Grid
Asked by
Redsquare
Top achievements
Rank 1
Share this question
or