287
edits
No edit summary |
No edit summary |
||
Line 48: | Line 48: | ||
Tree Content | Tree Content | ||
There is some code to set attributes on columns for trees built with the content builder, it doesn't seem to have any real use as far as I can tell. | There is some code to set attributes on columns for trees built with the content builder, it doesn't seem to have any real use as far as I can tell. Some code appears to rely on the behaviour but implements much of the sort attribute handling manually since the sort service is fairly inconsistent ith how it uses the attributes. | ||
===Special Sort Resources=== | |||
*The form resource?sort=true can be handled directly in the query processor. | |||
*The form resource?collation=true isn't used anywhere so it will be removed. | |||
===Sorting Non-Templates=== | |||
For an element that doesn't have a template, support will be added to allow it to be sorted using the sort service's Sort method. If the element implements nsIDOMXULSelectControlElement, its items will be sorted. Otherwise, the children of the element will be sorted. The sort key is an attribute on those items to sort by. |
edits