I am trying to implement the patch using override, but I'm getting "Unkit Type Error": The property 'table' can not be read "because the ex. Viewable table file has not loaded the script by time. How can I make sure that the required files are loaded before this name?
Ext.define ('CSnet.overrides.Table', {override: 'ext.view.Table', getRowStyleTableElriginal: Ext.view.Table.prototype.getRowStyle TableEl, getRowStyleTableEl: function {var l = this.getRowStyleTableElOriginal.apply (this, argument); if {l = {addCls (L!): Ext.emptyFn, removeCls: Ext.emptyFn, tagname: {}}} Return L;}}); "itemprop =" text "> After you have a class that handles all its overrides, You can define <> Ext.define ('YourApp.Overrider', pre-requisite: ['TargetClass'], doOverride: function () {Ext.define (' CSnet.overrides. Table ', {Override:' Ext.view. Table ', // snip});}}); You can add this app to your app. Ace to JS and DooverRide Launch () can call in, after the framework is loaded. Additionally, you can require specific TargetClass which overrides the required-config overrides
No comments:
Post a Comment