on 12-04-2021 9:46 AM
Documentation: GuiTableControl object
I tried to explain here (Stack Overflow) how to go through the lines of a table control, you may find properties like VisibleRowCount and more.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
these rows are quite special. The server adds them for paging reasons and SAP GUI itself does not have a property to find out how many such rows exist. Nor does SAP GUI know this number unless you paged to the last page of the table.
However, you can find out the number of such rows yourself by getting the collection of rows and then checking for each of the rows whether the collection of children of this row is greater than 0. If the collection does not contain anything, you have such a special row.
Best regars,
Frank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I mean how to avoid this error in a loop.
```python
for i in range(10):
cell = table.GetCell(i, 0)
# I dont know which cell can be get...
```
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.