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

Filter empty grid

7 Answers 166 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 08 Apr 2016, 07:19 PM

1)  I noticed the grid read action is being called when the grid-filter image is clicked on the column header.    Is there a reason it is being called when .ServerOperation(false) is specified ?

 

2)  Is there a way to remove the grid-filter from the column header when the grid has no rows  to prevent the user from filtering an empty grid ?

 

Thanks,

Irwin

 

7 Answers, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 12 Apr 2016, 08:15 AM
Hi Mark,

That should not be the case when you have the serverOperations disabled. However I was not able to reproduce the issue, would it be possible to send us a sample that we can look at?

Regards,
Kiril Nikolov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Mark
Top achievements
Rank 1
answered on 15 Apr 2016, 03:28 PM
I tried to attach 14mb project, but the upload will not allow anything over 2mb.    Can I email it to you ?
0
Kiril Nikolov
Telerik team
answered on 18 Apr 2016, 06:50 AM
Hi,

It should allow you to upload a file of up to 20 MB. Can you try again? If this does not work - upload it to any cloud storage and we will be happy to take a look?

Regards,
Kiril Nikolov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Mark
Top achievements
Rank 1
answered on 19 Apr 2016, 06:30 PM

Here is the error I get when trying to upload:

 

Attach files
The selected file(s) cannot be attached because it may exceed the maximum attachment size (2 MB) or is from not allowed type (allowed: .jpg, .jpeg, .gif, .png, .zip).

0
Kiril Nikolov
Telerik team
answered on 20 Apr 2016, 07:27 AM
Hello,

I will forward this to the team for further investigation, in the mean time can you please upload the project somewhere else, so we can help you out?

Regards,
Kiril Nikolov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Mark
Top achievements
Rank 1
answered on 04 May 2016, 06:05 PM

Here is a sample project I created.  

https://github.com/iaschkenas/FilterExample

If you click on the filter image you should see the ajax read action method being called.

 

 

 

0
Kiril Nikolov
Telerik team
answered on 06 May 2016, 05:22 AM
Hello,

When the Grid is empty and it is sorted, the default behavior is to go ahead fetch and sort the data. For any subsequent operations (after the data is fetched) the Grid will not go to the server. This is the built-in (expected) behavior according to the way the widget was designed.

Thanks for your understanding.

Regards,
Kiril Nikolov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Grid
Asked by
Mark
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Mark
Top achievements
Rank 1
Share this question
or