cancel
Showing results for 
Search instead for 
Did you mean: 

How to get row count visible and invisible from the guiTableControl?

S0024009236
Participant
1,510

Hi,

I am trying to fill data in guiTableControl using IRPA. I need to retrieve no of non empty rows visible and invisible in able to fill data in next empty row. Please help me out.capture.png

Accepted Solutions (0)

Answers (1)

Answers (1)

daniel_mccollum
Active Contributor
0 Kudos

tGuiTableControl has a property VisibleRowCount. As to the invisible rows, I've never found anything that can tell you whats not loaded yet.

Sandra_Rossi
Active Contributor

There's the property RowCount = total number of lines in the table control (can be for instance 1000 = visible + non-visible rows).

Script can work only with visible rows, and must scroll to make visible the next page of rows.

The last page can be immediately displayed by using tablecontrol.verticallscrollbar.position = 1000.

It's important after a table control scrolling to reinstantiate the table control to be able to work with it, because after reloading a screen, all elements are recreated by SAP GUI.