AKarandjeff
14 years agoContributor
DataGrid ItemRender ID keeps changing
I am attempting to take a checkpoint to do a caption validation within a data grid. However I am running into problems with the validation because the DataGridItemRenderer ID keeps changing on me. Sometimes it will show up as 19, sometimes it's 59 as outlined below, though I'm not sure if it's just those two values. I've been reading through the documentation, and have not been able to find a definitive way to map this particular cell so it gets identified properly each time. Any thoughts? Below is an example of what Object Spy grabs. The last value in (), 59 in this example, is what's changing on me. I looked at the Object Properties in the Object Browser and have tried refreshing multiple times in search of a common property and cannot see anything unique to identify the cell, unless I'm missing something. Thanks.
Sys.Process("iexplore").Page("http://localhost:9663/Ventraq/").Object("C3CSelfCare").C3CEUI("C3CSelfCare").Group(0).Group("contentGroup").VGroup(0).ModuleLoader("MainNavigator").MainNavigator(0).Group("contentGroup").Group("mainView").TabNavigator("mainStack").ModuleLoader("My Phone Book").PhoneBookModule(0).Group("contentGroup").Panel("My Phone Book").Group(0).Group("contents").Group("contentGroup").PhoneBook("PhoneBook").VGroup("phoneBookContent").DataGrid("entries").ListBaseContentHolder(0).DataGridItemRenderer(59)
Sys.Process("iexplore").Page("http://localhost:9663/Ventraq/").Object("C3CSelfCare").C3CEUI("C3CSelfCare").Group(0).Group("contentGroup").VGroup(0).ModuleLoader("MainNavigator").MainNavigator(0).Group("contentGroup").Group("mainView").TabNavigator("mainStack").ModuleLoader("My Phone Book").PhoneBookModule(0).Group("contentGroup").Panel("My Phone Book").Group(0).Group("contents").Group("contentGroup").PhoneBook("PhoneBook").VGroup("phoneBookContent").DataGrid("entries").ListBaseContentHolder(0).DataGridItemRenderer(59)