Forum Discussion
Most likely there is not a straight "click row" method or something with the view. I'm assuming that, if you click on any cell in the row, it will, effectively, double click the whole row.
So... what you need to do is write some sort of code that executes a for loop to loop through the rows of the table, searching a particular column and looking for a matching value. Once you find that row, return the row ID and then use it in some sort of call to <table>.Cell(<foundRowValue>, 1).Click().
Hi Robert,
Thanks for your reply.
I tried your approach but this object does not behave like a table and there is no method to click on individual row.
Click and DbClick methods click on center of the whole grid rather than on any row or cell.
Sys.Process("RightNow.CX").............WPFObject("Grid", "", 1).WPFObject("CachedWindowFrame").WPFObject("ContentPresenter", "", 1).WPFObject("ContentPresenter", "", 1).WPFObject("ReportDataSetView")
above is the name of the object.
Using DataContext property, i can get the data from cells. But there is no click or dbclick available on this item object.
WPFObject("ReportDataSetView").DataContext.DataSetViewModel.Rows.Item(0).Item(2)
- tristaanogre6 years agoEsteemed Contributor
Correct... because there is no "On Screen Object" to correspond with that... what you have found are native properties of the grid and they aren't recognized as "On Screen Objects" so don't have the wrapper actions of "Click" or "DoubleClick". So, you'll have to find some other means of interacting with the grid.
Related Content
- 12 months agosanket2799
- 3 years agoMichal_Ignaczak
- 12 months agolalit_singh
Recent Discussions
- 3 hours agoSvetaG