To load the ExtJS library use this syntax:
There are 2 optional parameters in this call:
$this->doc->loadExtJS($css = TRUE, $theme = TRUE);
- The first parameter is a boolean. If set to true,
ext-all.cssis added automatically.
- The second parameter is also a boolean. If set to true, theme-grey is added automatically.
Additionally the function takes care of:
- adding the correct adapter
- adding the localization file of BE-User language
To do debugging in the ExtJS library, use the following call to force the debug variant to be loaded: