Just wondering if there is anyway one can use an AJAX call in a constructor function when extending a class. Specifically I am trying to make an extension to the grid class where as part of the constructor function I want to fire off an AJAX request to get some information so I can create a config and then pass that to the superclass constructor.

I believe this maybe easier done with a factory function but I believe my manager specifically wants it done this way. If it is not possible then I will try other ways.

Thanks alot.