Migration ExtJS 4.2 to ExtJS 6.0.1
-
Add the
meta
tag in the HTML main page (done byplugin_dbui
)<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
-
Use the following construct with HTML pages containing javaScript, e.g. version, report_4:
<script> var mydict = {{=XML(json.dumps(my_python_dict))}}, mystr = '{{=my_python_str}}'; ... </script>
-
Check the event
select
forComboBox
. Signature has changedrecords
becomerecord
. -
In the column configuration of the grid widget use
columnWidth
instead offlex
. In principle both are working, but some issues appeare with the second one when unmasking hidden columns. -
in
app.js
replace the Ext.EventManager by:// Close user session on the server. Ext.getWin().on('beforeunload', Dbui.closeUserSession);
-
Use the script
build-version6
to compile your JavaScript libraries. The script is in the projectw2pext/utilities
.