Is editor.unregister() a safe function to use? In previous questions, I’ve struggled with performance of pages that use addRow() as there is no addRows() method like there is for updateRow()/updateRows()In looking into alternatives, I’ve found solutions that work, but they do not seem consistent, and I’m wondering if they are safe to use. unregister() in particular. I’ll try and focus on the latest release (7.20).So I have a model that is shown in a table, and whose rows are created in Javascript. addRow() is slow as it causes updates - so what if we remove the UI elements tied to a model before we add the rows, then attaching it back? This works - sample code below. The “NewModel” is linked to a table on the page - this is retrieved in the uiEditor variable.
var params = arguments[0], $ = skuid.$, uiEditor = $('#mytable').data('object').editor, newModel = skuid.model.getModel("NewModel"), count = 0, numberOfRecords = 100; uiEditor.unregister(); for(; count < numberOfRecords ; count++){
var newRecord = newModel.cre