$render->assign('mylist', 2); // Supply selected value
}
}
You can also encourage reuse of dropdown lists by inheriting from the dropdown list into a specialized list a'la MyCategorySelector or MyColorSelector, and then use this plugin where ever you want a category or color selector. In this way you don't have to remember to assign the items to the render every time you need such a selector. In these plugins you must set the items in the load event handler. See pnFormLanguageSelector for a good example of how this can be done.
Auto postback means "generate a server side event when selected index changes". If enabled then the event handler named in $onSelectedIndexChanged will be fired in the main form event handler.
Enable saving of multiple selected values as a colon delimited string
Enable this to save the selected values as a single string instead of an array of selected values. The result is a colon separated string like ":10:20:30".