Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
165
UltraGridFilterUIProvider for each grid or one for all?
posted

We use 5 Grids in one form and I am just wondering if should use one FilterProvider for each grid or only one for all.
In the past we use only one for many grids, so I know it is working, but what is the best practise?
1 Filter for 5 grids

5 Filters for 5 grids?

rgds

Wolfgang

  • 1500
    Offline posted

    Hello,

    Thank you for posting on our forums.

    If your application is synchronous, there won't be much of a difference between both approaches execution wise. The app should take the same time to filter with one and with five providers. 

    However, if you are looking to filter all 5 grids at the same time because you are looking for faster performance, having 5 providers filter the grids at the same time will be better. However, if the app is already covering performance requirements, going async is not advisable.

    Ultimately, if something is working, do not break it unless you have to

    Sincerely,

    Tihomir Tonev
    Software Developer
    Infragistics