Welcome to the Xceed Community | Help
Community Search  
More Search Options

after Autofilter then submit, cursor always shown as wait cursor

Sort Posts: Previous Next
  •  06-13-2012, 9:09 AM Post no. 32248

    after Autofilter then submit, cursor always shown as wait cursor

    Hi,

     

    We have a application using Xceed as our grid. Now user is reporting that every time he submit the query after autofilter to any column, the cursor will be shown as hourglass, and this wait cursor will continue until user close this module.

     

    Do you have any idea why this happen and how to address?

     

    Thanks, 

    Kun 

    Filed under:
  •  06-14-2012, 10:19 PM Post no. 32254 in reply to 32248

    Re: after Autofilter then submit, cursor always shown as wait cursor

    Hi kun,

    If you see an hourglass after something is being done to the grid, this means that you might be doing something that is causing this. Currently, the Xceed DataGrid for WPF does not show an hourglass if it is doing something. The UI will actually lock up and freeze if it even gets to that point. And you would need a lot of graphics and millions of records to attempt to freeze the grid.

    Are you doing anything while the grid filters? Are you overriding the Filter event on the DataGridCollectionView? If you are, you will need to analyze and check to see exactly what you are doing when the user filters that triggers this event. Please remember that the Filter event gets triggered for every item in your Items collection. The objective of the Filter event is to provide a criterion or criteria as to what needs to get filtered.


    Marc

    Developer in Technical Support
    Xceed - Multi-talented components - http://xceed.com
  •  06-15-2012, 1:25 AM Post no. 32257 in reply to 32254

    Re: after Autofilter then submit, cursor always shown as wait cursor

    Hi Marc,

     We do attached a event to Filter event. But that is not the case cause we use the same logic in other modules which are working fine. Also this issue still appear even I comment the filter event out.

    After autofilter column, cursor is arrow which is correct, but after user query for new data (even user cleared the previous filters), cursor becomes to wait and never changed back until reopen this module (even user tried to resubmit or refresh grid).

    The strange thing is that query without any autofilter before, cursor is fine.

    Do you have any idea?

    Sincerely

    Kun

  •  06-16-2012, 1:13 PM Post no. 32263 in reply to 32257

    Re: after Autofilter then submit, cursor always shown as wait cursor

    Hi kun,

    I'm not exactly sure what is going on in your application. The behavior that you have explained is not the default behavior of that feature nor is it expected. Are you able to replicate the issue in a simpler, and smaller self contained sample application? If it is, can you provide it to us so that we can investigate the issue further and provide you with more information and insight. 


    Marc

    Developer in Technical Support
    Xceed - Multi-talented components - http://xceed.com
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.