Just wanted to know if its possible to limit the javascript that is loaded every time you use a infragistics grid. We are only using a fraction of the javascript that is loaded everything a page is requested .
Thanks,
Pall
Hi Pall,
It is not possible to limit the javascript that is being executed as our grids are inseperable as controls. Partial loading of javascript is therefore not supported by design.
Please contact me if you have any questions.
Petar IvanovDeveloper Support EngineerInfragistics, Inc.http://ko.infragistics.com/support
Just a thought on this topic....
Would it make sense for IG to separate WebDataGrid behaviors into different javascript resources, and then load those resources only if the behavior is enabled? That way, you only load the javascript for paging, sorting, filtering, virtual scrolling, etc, if you actually use those behaviors.
You could get really clever by having script-combined resources for different combinations of behaviors.
WebDataGrid is already very fast, but I know you guys like to keep on the bleeding edge!
Hi Rob,
I have to apologise as my previous post was vague. What I meant is actually that there are certain resources that are always required for the grid to operate and therefore cannot be limited.
However, there are some javascript resources such as the grid behaviors which are loaded on an on demand basis. In such cases, as you suggest, if a specific behavior is enabled, only the javascript needed for that behavior is loaded.
I hope this makes things clearer.
Best Regards,