mercredi 19 mars 2014

HTML node insertBefore fails in grids in WIndows 8 native app

Analog to "EXTJSIV-8280 Ext.dom.Helper.insertHtml fails in native Windows 8 app", there is another operation that makes grids fail in Windows 8:



Ext.view.Table.updateColumns has a line


Code:



row.insertBefore(newCell, oldCell);


that needs to be wrapped with


Code:



MSApp.execUnsafeLocalFunction


After overriding, I have it working.



Update
Actually there is more like that.What's the way to go here, as Windows 8 forces one to update a lot of code and Ext.js started to kind of support Windows 8 native apps already? Will there be future updates with more wrappers or are there more elegant ways?




Aucun commentaire:

Enregistrer un commentaire