Popup Form Template
With the FormTemplate feature, you can customize the appearance and content of the create/edit Popup window of the TreeList. Declare the desired custom content inside the <FormTemplate> inner tag of the <TreeListPopupEditFormSettings>.
You can use the Context attribute of the <FormTemplate> tag to set the name of the context variable. The context variable is of type object and can be cast to the model type to which the TreeList is bound.
When using the template, the default Popup form is replaced by the declared content within the
FormTemplatetag. Consequently, the defaultUpdateandCancelbuttons are removed. This means theOnUpdateandOnCancelevents cannot be triggered. To modify or cancel the update of a record, you need to include custom controls to manage these actions.
Using a
FormTemplateto modify the Edit/Create Popup window.