Update a widget based on another widget.

Update a widget based on another widget.

1-) Create a Grid (product table), whose configuration is

    Grid Modules → Orientation to Slide

    Configuration → Columns per pages: 5

    Link between Applications → Link to a blank application that will perform the update, where the link will have the following properties

        Operation Mode Link: Open in iframe

        Iframe height: 5

        Iframe width: 500

        And send the following parameters to the blank:


2-) On the blank, you will receive the parameters of the grid, which will be stored in global variables, and will update the table and then redirect to the grid retail_detail


3-) Create a Grid_detalle_venta
4-) Create a Dashboard:
    Select the grid (from Step 1) with the following options
    Through the link of this grid with the blank application, whose scope will be "Create widget automatically".


5-) Run the dashboard and a similar result should be observed.


For more information: https://www.youtube.com/watch?v=KzG6WfZR8a4

    • Related Articles

    • Manual Update - Linux

      Before performing any procedure we recommend performing a backup of your projects. To back up Scriptcase: Go to Options > Settings, in the side menu go to Services > Backup. A file (.ZIP) will be generated with all your projects, save this file to a ...
    • Creating a field that verifies values in another table

      In this tutorial, we will see how use a field with type “Select” to checks values that are in another tables. For example, we are using two tables: “states”(that will include the values to be checked) and “city” (that will receive the values that are ...
    • Manual Update - Windows

      Before performing any procedure, we recommend performing a backup of your projects. To back up Scriptcase: Go to   Settings > Administration, in the side menu go to   Services > Backup.   A file (.ZIP) will be generated with all your projects, save ...
    • Manual Update - Mac OS

      Before performing any procedure we recommend performing a backup of your projects. To back up Scriptcase: Go to Settings> Administration, in the side menu go to Services> Backup. A file (.ZIP) will be generated with all your projects, save this file ...
    • Executing SQL statements (Insert, Update and Delete)

      With the macro macro sc_exec_sql you can execute SQL statements. Note that is useful to insert, update and delete because you dont get the output. If you need te output, use sc_lookup. Sintax: sc_exec_sql("SQL statement", "connection")The parameter ...