on 2021 Mar 29 8:30 AM
Hello all,
I am trying to use the doubleClick event for a GuiGridView.
Unfortunately, I always get the message Choose a valid Entry.
Can anyone tell me what I am doing wrong here?
var table = session.findById("wnd[1]/usr/cntlALV_CONTAINER_1/shellcont/shell");
var columns = table.columns;
var a_variant = "Test";
if (table.rowCount > 0) {
for (var rowIndex = 0; rowIndex < table.rowCount; rowIndex++) {
var colName = columns.elementAt(0).name;
var variant = table.getCellValue(rowIndex, colName);
if(variant === a_variant){
debugger;
table.doubleClick(rowIndex, colName);
}
}
}
I event tried it with a simple approach:
var table = session.findById("wnd[1]/usr/cntlALV_CONTAINER_1/shellcont/shell");
table.doubleClick(0, "VARIANT");
But this returns the same result.
I would be glad about help
Julian
Request clarification before answering.
User | Count |
---|---|
53 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.