Hi,
I'm using Ranorex 1.4, and we have an application that utilizes the Infragistics UltraGrid control. Based on the blog entry, I thought this would be a piece of cake, but ran into some difficulties.
We have one row which is a 'filter' row to apply filter criteria to the rest of the grid. I tried to enumerate this row and get all the column names with no success. Only after I had added a second 'data' row did I get an Element[] of Role.Row returned, and _both_ of the returned objects were duplicates of the first data row, _not_ the filter criteria row. Thus my question -- why would Element[] rows = table.FindChildren(Role.Row) return duplicate entries, and is there a fix?
Thanks,
Tim
Duplicate row elements returned from ultraGrid control
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Hi timm,
Your 'filter' row is not an ultraGrid specific 'filter' row. This row is a normal ultraGrid row. Am I right?
If not, maybe table.FindChildren(Role.Row) does not return anything because your 'filter' is not of role type 'Row'?
Have you analyzed your ultraGrid control with RanorexSpy? Does your top 'filter' row has the same properties in Ranorex Spy like other data rows?
Would it be possible to provide us an application using an ultraGrid control including 'filter' row? (support(at)ranorex.com)
best regards,
Christoph,
Ranorex Support Team
Your 'filter' row is not an ultraGrid specific 'filter' row. This row is a normal ultraGrid row. Am I right?
If not, maybe table.FindChildren(Role.Row) does not return anything because your 'filter' is not of role type 'Row'?
Have you analyzed your ultraGrid control with RanorexSpy? Does your top 'filter' row has the same properties in Ranorex Spy like other data rows?
Would it be possible to provide us an application using an ultraGrid control including 'filter' row? (support(at)ranorex.com)
best regards,
Christoph,
Ranorex Support Team
Hello,
I seem to have a similar problem here.
I am using v1.4 with an Infragistics ultraGrid.
table.Element.FindChildren(Role.Row) gets me the rows plus one duplicate row, which I think is actually the selected row.
But unfortunatelly it doesnt get me the Filter Row, that I am trying to get access to.
At last I want to select a row by giving the value of a cell. Without the use of those filters it takes very long to loop through all the rows.
Is there way to access the Filter Row?
I seem to have a similar problem here.
I am using v1.4 with an Infragistics ultraGrid.
table.Element.FindChildren(Role.Row) gets me the rows plus one duplicate row, which I think is actually the selected row.
But unfortunatelly it doesnt get me the Filter Row, that I am trying to get access to.
At last I want to select a row by giving the value of a cell. Without the use of those filters it takes very long to loop through all the rows.
Is there way to access the Filter Row?
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria