how to not set xafari as default property editor?

StatusIDPriorityType
Closed28530MinorQuestion
ProfileReply
Tin-KaiClient

Dear support team,

when I add XafariEditors module (win) to the solution
the editor type "Xafari.Editors.Win.XafariGridListEditor" is in listviews for objects as a default listview editor.

Can I set the default editor type to "Devexpress.ExpressApp.Win.Editors.GridListEditor" as default ? (without setting the listview editor type for all objects in BOModel manually)

Same to property editor type:
"DevExpress.ExpressApp.Win.Editors.LookupPropertyEditor" instead of "Xafari.Editors.Win.XafariLookupEditor"

Thanks for your help!
Kai

Replies

UserDescriptionPosted On
Sasha (Xafari Support)Client

Hello,

We are going to investigate this issue in near future.
Thanks, Sasha.

Tin-Kai

Thanks a lot, Sasha!

this would be quite useful if someone like me add xafari editors to a existing big project.
after adding xafari editors module all the detailview and listviews would change to xafari editors and this would be frustrating for the developer and also for the client as the GUI would change and he might be confronted with error messages (if the view controller is not adapted).
for a little project this would not be a problem but for a big solution the decision would be not using xafari editors at all if it takes too much effort to change all the editor types.

Sasha (Xafari Support)Client

Hello,

Sorry for the delay with the answer!

The Xafari property editors are set as property editor types by default, if you add in your project Xafari Business modules (Business components), Xafari Enterprise modules (if the modules interact with business components ) or XafariEditorsModule (win/web). This behavior is typical of the Xafari Framework. If you use this Xafari modules, you can not change this behavior and set Devexpress property editor types by default.

As variant solution, you can set the DevExpress editor for properties and views:
- open Model.xafml (or Model.DesignedDiffs.xafml) for web/win module,
- choose ViewItems -> PropertyEditors, select your type and set editor for EditorType,
- (for ListEditor) choose Views and set editor for DefaultListEditor
EditorType

After the manipulation all you LookupProperty will use the editor specified for EditorType and etc.

We hope you find this information helpful.
Let us know if you need further assistance.
Best regards,
Sasha.

× This ticket is closed.

Write US