FeatureCenter/DataShow bug

StatusIDPriorityTypeTags
Closed25350MajorQuestionTop N
ProfileReply
ytq2080Client

FeatureCenter/DataShow bug

detail look attach files!

Replies

UserDescriptionPosted On
ytq2080

framework version 15.2.508

Sasha (Xafari Support)Agent

Hello,

Thank you for contacting us.
We have replicated this behavior, but couldn't give you a solution at the moment.
We are going to investigate it. Please, give us some time.

Best regards, Sasha.

ytq2080

Thanks for your reply,
I am looking forward to your solution.

Best regards, Tony.

Sasha (Xafari Support)Agent

Hi Tony,

This behavior (see above attached files: datashow1.png, datashow2.png) is typical when you use Top = 100, 200 etc. When you are setting the criteria (filter) and sorting you get a result for all the list data: algorithm sorts all the list data and displays the latest data (Index = 100 000, 99 999, 99 998 ect.), but this data do not fit the criteria ([Index] < '10') and the ListView are empty as result (datashow2.png).

If you set Top = All you will have your desired behavior (see attached video TopN_Behavior.zip).

We are going to revise the strategy of behavior for Data Showing with TopN.

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

Thanks, Sasha.

Attached files:
ytq2080

Hi Sasha,

Thanks for your reply,

Select all records show you that mode of operation, the performance is very low, Can not improve the user experience, especially when record many.
In the performance to consider the possibility to achieve the following Sql implementation?
Asc : Select top 10 * from DataShowing where index < 10 order by index asc
Desc: select top 10 * from DataShowing where index < 10 order by index desc

Thanks!
Best regards, Tony.

Sasha (Xafari Support)Agent

Hello,
Thanks for your information.

We solve this issue and the fix will be published in new Xafari version in the near future.

Best regards,
Sasha.

ytq2080

Hello,

The proposal uses the following plan, detail look attach file! the individual thought that can solve the performance problem very well.

Thanks!
Best regards, Tony.

Attached files:
Sasha (Xafari Support)Agent

Hi,

Thanks for the additional information.
We solved this issue and Xafari x010 will be contain the fix.

Regards,
Sasha.

ytq2080

Hi,

Thanks for your reply.
Look forward to your x010 Xafari.

Thanks!
Best regards, Tony.

Sasha (Xafari Support)Agent

Hello,

We built new Xafari version for DevExpress v15.2.9: Xafari.Framework-15.2.908.805.
You can check whether we have solved your issue in accordance with your requirements in Xafari.Framework-15.2.908.805.

Please inform us of your results.
Thanks, Sasha.

ytq2080

Hello,

still have bug:
when top 100 ,set index filter: index > 300 and index 300 and index 300 and index < 310 order by index desc

Thanks!
Best regards, Tony.

Attached files:
ytq2080

Hello,

Still have bug:
When top 100 ,Set index filter: index >300 and index 300 and index 300 and index < 310 order by index desc

Thanks!
Best regards, Tony.

Attached files:
Sasha (Xafari Support)Agent

Hi,

Thanks for reporting the issue!

Yes, you are right, the criteria applies for the visible list only.
We are going to fix this error for Xafari x010.

Thanks for your patience.
Regards, Sasha.

ytq2080

Hello
,
Thanks for your reply.
Look forward to your x010 Xafari.

Thanks!
Best regards, Tony.

Sasha (Xafari Support)Agent

Hello Tony,

The DataShow function was based on DevExpress TopReturnedObjects Property (see attached file DevExpressTopN.avi). This TopN has a behavior that you described above.
If you want to use behavior, that you described, you can set up your criteria using the controller (see attached file CustomCriteria.avi):
a sample of the criteria

public partial class GetObjectsViewController : ViewController {
public GetObjectsViewController()
{
InitializeComponent();
TargetObjectType = typeof (DataShowingObject);
}private void simpleAction1_Execute(object sender, SimpleActionExecuteEventArgs e)
{
this.View.CollectionSource.Criteria["Custom"] = CriteriaOperator.Parse("[Index] > 110 And [Index] < 130");
}
}

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

Attached files:
ytq2080

Hello sasha,

thanks your replay.
[Index] > 110 And [Index] < 130 ,Just to give an example.test xafari bug.

I basically realized,see attached file.

Sasha (Xafari Support)Agent

Hello Tony,
Thank you for your advice.

Feel free to contact us if you experience any difficulties. We will be happy to help you.
Regards, Sasha.

× This ticket is closed.