Share this page

# Example: sapgui_grid_select_cell_column

The following example uses sapgui_grid_select_cell_column to select a cell in the same row as the current selection, but a different column.

    // Save the Grid ID in variable "GridID"

    lr_save_string
        ("usr/cntlBCALVC_TOOLBAR_D100_C1/shellcont/shell",
        "GridID");

    // Select eighth row (row 7), Column CARRID

    sapgui_grid_select_cell("'Overview' (7, Airline carrier)",
            "{GridID}",
            "7",
            "CARRID",
            BEGIN_OPTIONAL,
                "AdditionalInfo=sapgui1062",
            END_OPTIONAL);

    // Select seventh row (row 6), Column CARRID

    sapgui_grid_select_cell_row("Move selection to another row",
            "{GridID}",
            "6",
            LAST );

    // Select row 6, Column CITYFROM

    sapgui_grid_select_cell_column("Move selection to another column",
            "{GridID}",
            "CITYFROM",
            LAST );

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: