Flex Grid - getItems - 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: Flex Grid - getItems (/Thread-Flex-Grid-getItems) |
Flex Grid - getItems - geethwind - 05-08-2010 Hey I am new to flex , my application has a Flex Data grid and when i search for a criteria, this Grid displays the result rows. How do i get the count of these result rows, when i use Getrowcount property, it is returning all the rowcount in the grid, including the empty rows which is as 15. when i use Browser("appa").FlexApplication("app").FlexDataGrid("treeResultGrid").GetItemsCount it is returning 1. my actual datarows are 11. i got stuck at this point and any help is highly appreciated. Thanks, G RE: Flex Grid - getItems - nanthini222 - 08-30-2010 Browser("appa").FlexApplication("app").FlexDataGrid("treeResultGrid").RowCount gives the rowcount of the grid. |