Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

...

...

...

...

...

...

...

...

...

Este control permite incluir una columna dentro de un GRID con la funcionalidad de un CheckBox. Este control debe estar relacionado a un DataSet el cual fue creado previamente en la página en la que se está trabajando.

Navegación

Pre condiciones

Guía paso a paso

Paso 1.

En la pantalla actual seleccionar el tipo de control Grid_Checkbox y presionar el botón New.

...

Paso 2.

En la ventana Pop Up se deben ser ingresar los datos que crearan el control.

...

General

  • Field. Nombre interno que se le asigna al control, Ejemplo: ID (NOTA: Este control debe llamarse igual que el campo que regresa el DataSet en SQL)

  • Description. Nombre que tendrá la columna y será visualizada por el usuario

  • Comment. Puede ingresar un comentario adicional acerca del control

  • Tooltip. Es la etiqueta que se mostrara al pasar el puntero del mouse sobre el control

...

Data Binding

  • DataSet. Debe seleccionar el DataSet que llenara la columna

  • Initial Value. En este campo se indica cual será el valor por default de la columna: No Seleccionado o Seleccionado

...

Layout

  • Place Holder. Son los contenedores del Layout

  • Order. Es el orden en el cual se debe mostrar el control en la página.

  • Container Style Class. Son las clases que permite modificar la posición del control, hacerlo más ancho, centrarlo, etc.

  • Item Class Style.

...

Conditional

  • Visible. Atributo que indica si la columna será visible o no. También puede ser condicionada y únicamente será mostrada al cumplir con la condición.

  • Conditional Read Only. Condiciona la columna para solo lectura.

Paso 3.

Despues de ccapturar las caracteristicas necesarias para el Grid CheckBox hacer click en el botón Accept para guardar los cambios.

...

Overview

On this lesson, we will analyze the “Grid Checkbox” control that allow us to include a checkbox functionality under the grid tables in the page. As precondition, it’s mandatory to have a dataset created before we start with the creation process. Let’s review this feature!

How to create a “Grid Checkbox” control?

Turn to the page where we are going to include this object. Under the “Controls” section, choose the “Grid Checkbox” option. Click on “New” button

...

A popup will be prompted to generate the control.

...

Once we completed the Object Name and Displayed Name fields, let’s continue working on “Data Binding” tab. We need to make sure here that we connect the control with the right dataset.

...

In this example, we select the dataset previously created and after completing the layout order, click on “Submit” button to generate the control.

...

Now that the control is displayed on screen, let’s click on “Preview” button to verify that this is available in our page.

...

Column is added in the corresponding order and showing the label that we indicated in the creation. We can now link this checkbox with another action similar than we did when creating the “Remove” icon. In this case we can create a new button to make the row checked as active or inactive.

Recap

On this lesson, we learnt how to include checkbox functionality in grid tables that we can connect to different actions that we want to trigger.