How to Customize PeriodStructPropertyEditor?

StatusIDPriorityType
Closed25075MajorQuestion
ProfileReply
Scott GrossClient

Can you provide an example of how add custom filter options or even completely replace the filter controls? Ideally a sample on both win and web, but only Win is required.

example can be to set an As of date to select the week starting and ending.

Replies

UserDescriptionPosted On
Sasha (Xafari Support)Client

Hello Scott,

Can you inform us, please, which the Xafari version are you using?

Thanks, Sasha.

Sasha (Xafari Support)Client

Hi Scott,

You can investigate our Period Struct for solve your issue.
The Period Struct (Filter) for a WinApplication have next settings:
PeriodInterval

Unfortunateli Period Struct for a WebApplication has settings of calendar only.
We hope you find this information helpful.

If the information doesn't solve your issue, you can give us more detailed description about the problem.

Best regards,
Sasha.

Scott Gross

if the use selects "Day" on the right screen, I would like to use that as "Today's Date" for the interval selections.

So Start Of Week would show the start of the week for the selected date in Day.

Would this be possible?

Sasha (Xafari Support)Client

Hello Scott,

Our apologies for the delay.

>> if the use selects "Day" on the right screen, I would like to use that as "Today's Date" for the interval selections.So Start Of Week would show the start of the week for the selected date in Day.

To solve this issue with filter you can develop your Control and Editor:
- you can add to your project new UserControl and describe the behavior of this Control (see file Ticket_25060Filter.Module.Win.Helper PeriodUserControl from attached sample);
- add your PropertyEditor (see file Ticket_25060Filter.Module.Win.Helper YouComplexPeriodStructPropertyEditor from attached sample);
- apply settings for the Model of your project.

We send you a simple sample and video where demonstrate the use of a new Control and Editor on base of XafariPeriodFilter properties (see attached files: sample, video).

But you can use your Control and other features without using Xafari.

We hope you find this information helpful.
Let us know if you need further assistance.

Best regards,
Sasha.

× This ticket is closed.

Write US