how to get rowCount for Devexpress xtraGrid detail sheets? - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming) +--- Thread: how to get rowCount for Devexpress xtraGrid detail sheets? (/Thread-how-to-get-rowCount-for-Devexpress-xtraGrid-detail-sheets) |
how to get rowCount for Devexpress xtraGrid detail sheets? - hotzone - 12-31-2010 Hello, We are using devExpress xTraGrid with Master-Detail. Is there a way to get row count in the details view for the selected master record? Currently using the code below i'm hard-coding the detail sheet # but would be nice to get the count dynamically and then select one. Code: Set obj = SwfWindow("regexpwndtitle:=IRI.*").SwfWindow("swfname:=Group").SwfTable("swfname:=grid") OR can someone share the methods which can be used on DevExpress xTraGrid using the Object.MainView option? Thanks, |