How to improve performance of Ranorex on DevExpress DataGrid
Posted: Tue Jul 19, 2011 6:49 am
Hi,
I am using Dev Express Grid in my application. It contains around 10000 rows. I need only the filter row in the data grid. I took the rx path of filter row in my c# code. But it took around 2 minutes to identify the row. Is there any way to get only the filter row without allowing ranorex to enumerate through all rows? I am providing you my code here.
Table t = "rx path of grid";
Row r = t.FindSingle<Row>("container[@accessiblename='Data Panel']/row[@accessiblename='Filter Row and @visible='True']"); //This line takes around 2 minutes and am able to get the row after 2 minutes.
As you can see the code here, i need only the filter row here. If the data grid contains only few rows, the above statement took only few seconds. But for 10000 rows its taking long time.
Even if i use cache context, the first access will take long time and i dont want that. Please help me out.
Regards,
Siva R S
I am using Dev Express Grid in my application. It contains around 10000 rows. I need only the filter row in the data grid. I took the rx path of filter row in my c# code. But it took around 2 minutes to identify the row. Is there any way to get only the filter row without allowing ranorex to enumerate through all rows? I am providing you my code here.
Table t = "rx path of grid";
Row r = t.FindSingle<Row>("container[@accessiblename='Data Panel']/row[@accessiblename='Filter Row and @visible='True']"); //This line takes around 2 minutes and am able to get the row after 2 minutes.
As you can see the code here, i need only the filter row here. If the data grid contains only few rows, the above statement took only few seconds. But for 10000 rows its taking long time.
Even if i use cache context, the first access will take long time and i dont want that. Please help me out.
Regards,
Siva R S