Does someone know a way to find out all configuration options from an ExtJS control programmatically? I do mean options like width, height etc. as described in the EXTJS documentation.
If you want to access the config options that were passed to a particular Component, then you can access these from this.initialConfig
.
If you want to get a list of all possible config options that could be passed, then this can't really be done from within ExtJS framework itself. Basically you are limited by the fact that not all config options are listed in prototype - many which default to undefined are just checked for programmatically.
You can extract this data from Ext JS doc-comments using jsduck to export the docs in JSON format, from which you can filter out the config options.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With