Filter empty grid

8 posts, 0 answers
  1. Mark
    Mark avatar
    5 posts
    Member since:
    Jun 2015

    Posted 08 Apr Link to this post

    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

     

  2. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2566 posts

    Posted 12 Apr Link to this post

    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
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Mark
    Mark avatar
    5 posts
    Member since:
    Jun 2015

    Posted 15 Apr in reply to Kiril Nikolov Link to this post

    I tried to attach 14mb project, but the upload will not allow anything over 2mb.    Can I email it to you ?
  5. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2566 posts

    Posted 18 Apr Link to this post

    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
  6. Mark
    Mark avatar
    5 posts
    Member since:
    Jun 2015

    Posted 19 Apr in reply to Kiril Nikolov Link to this post

    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).

  7. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2566 posts

    Posted 20 Apr Link to this post

    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
  8. Mark
    Mark avatar
    5 posts
    Member since:
    Jun 2015

    Posted 04 May in reply to Kiril Nikolov Link to this post

    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.

     

     

     

  9. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2566 posts

    Posted 06 May Link to this post

    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
Back to Top
UI for ASP.NET MVC is VS 2017 Ready