Bulk edit example needed

StatusIDPriorityType
Open35407MajorQuestion
ProfileReply
WolframClient

I implemented the Dock panel and the bulk edit like explained in the dokumentation.
But i do not get it running.
I do not understand how to combine Dock panel and Bulk edit to make it work.

Please provide some code example.

Thank You in advance

Replies

UserDescriptionPosted On
MariyaVoytovichAgent

Hello Wolfram!

I apologize for the delayed response.

We prepared an example for you (See attachments).

Bulk Edit is a special editor, which is displayed in a Dock Panel.
DockPanels is displayed in the window if the current window Template implements the IDockManagerHolder interface.
Xafari uses the DockPanelTemplateControl for dock panel, that does not implement the IDockManagerHolder interface.
To show Bulk Edit in dock panel, you need to create custom template for Dock Panel.

To do this, the sample created CustomDockPanelTemplateControl.

Also you need Modify WinModule.cs file, subscribe to the CreateCustomTemplate event:

public override void Setup(XafApplication application)
{
base.Setup(application);
this.Application.CreateCustomTemplate += Application_CreateCustomTemplate;
}private void Application_CreateCustomTemplate(object sender, CreateCustomTemplateEventArgs e)
{
if (e.Context == XafariDockingWindowController.DockPanelFrameTemplateName)
e.Template = new CustomDockPanelTemplateControl();
}

Feel free to contact us if you need further assistance or have additional questions.

Regards,
Mariya
On behalf of Xafari Client Services Team

Write US