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

Filter cell loading icon

4 Answers 51 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 11 Aug 2015, 09:48 PM

In my grid, if I enable filter row, and start to search for anything in the column's filter cell, a little spinning 'k-loading' icon shows up, but it doesn't go away after I press enter, or even if I click the 'X' to clear the filter.

Using a template such as: template: '<input type="text" class="k-textbox" autocomplete="off" />' prevents the icon, but this seems like a hack. Plus I do want to see the spinner until the user presses the enter key, but no longer.

Bob Graham

4 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 13 Aug 2015, 04:42 PM
Hello,

Could you please specify which is the version on Kendo UI you are using? Does the same problem exist with the latest version?

Regards,
Pavlina
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Robert
Top achievements
Rank 1
answered on 13 Aug 2015, 04:46 PM

v2015.2.624

It's been the same with all versions I've used over the last year +.

 Bob

 
0
Pavlina
Telerik team
answered on 17 Aug 2015, 03:49 PM
Hi,

I noticed that my colleague Alexander already answered your support ticket with the same question. In order to avoid duplicate posts please continue your communication there. 

Here is the answer in case anybody else encounter such an issue:
This happens because the Autocomplete widget inherits the DataSource initialization options of the Grid. In its case however, it makes little sense to send a "take" parameter, as the Autocomplete should fetch all available items (for the current filtering criteria). I would suggest either handling the empty take parameter on the server-side or using a separate DataSource instance.

Regards,
Pavlina
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Robert
Top achievements
Rank 1
answered on 17 Aug 2015, 04:34 PM

Hi Pavlina,

 Actually, adding the take parameter works quite well, and doesn't inhibit the DataSourceResult (using kendo DynamicLinq) from returning all records that fit the criteria, and then displaying only the current page.

 Bob

Tags
Grid
Asked by
Robert
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Robert
Top achievements
Rank 1
Share this question
or