Opened 7 years ago

Closed 7 years ago

#16722 closed enhancement (invalid)

Improving the WidgetList update operations

Reported by: Stefan Meyer Owned by: Ed Chatelain
Priority: undecided Milestone: tbd
Component: DojoX MVC Version: 1.8.3
Keywords: Cc: ben hockey
Blocked By: Blocking:

Description

Currently WidgetList? removes all children and then creates them anew once the statefularray changes. The patch handles the only removals and only additions specially, so that Widgets are not recreated. This is important for my project (github.com/stemey/dojo-generate-form) which uses nested WidgetLists? with possible hundreds of widgets.

Attachments (1)

patch.js (2.2 KB) - added by Stefan Meyer 7 years ago.
Ein Path für WidgetList?

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by Stefan Meyer

Attachment: patch.js added

Ein Path für WidgetList?

comment:1 Changed 7 years ago by ben hockey

Cc: ben hockey added

comment:2 Changed 7 years ago by Ed Chatelain

Did you try using partialRebuild: true? partialRebuild: Boolean If true, only rebuild repeat items for changed elements. Otherwise, rebuild everything if there is a change in children.

comment:3 Changed 7 years ago by Stefan Meyer

Yes it works, the patch is superfluous. I had tried it but I misspelled it.

comment:4 Changed 7 years ago by Ed Chatelain

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.