Edit Grid

Edit Grid


Edit Grid can be found in the current version of HSync templates.

To implement add the triple:

MyEntity ENT is a ENT Ability.EditList

By default all fields are editable. To prevent a field from being edited, add it to the local variable 'NonEditable' in TemplateGeneration.EvaluateDataAttribute.

Plex

For this example we will use a test entity, Vendeur Tablette, that inherits from edit grid:

Gestion Tablette Offline.Vendeur Tablette is a ENT Ability.EditList.


Generate Changes.

On the model set up an offline tablette build list that contains all the template generation functions for all the entities of the application.


After generating the offline tablette build list generate the Gestion Tablette Offline Server:


Eclipse

Now go to Eclipse.

To import all the generated functions right click and refresh the java project.


Then run the Application Generator.


When the application is running do the following:

  1. Click on the Application Settings tab then click on apply.

  2. Click on Application Template, select Gen Folder, and Generate Application. Wait for the message that all was generated.

Now right click and refresh the web project.


Run Tomcat server.


Test Changes



    • Related Articles

    • Filtered Grid

      This feature has been implemented for the Edit Grid only which currently only supports text fields. To implement, define the following inheritance: MyEntity ENT is ENT Ability.FilterList With this, you will inherit a non-implementable view ...
    • How to Implement Rich Tooltip to an Edit Field

      Rich tooltip feature enables the user to see tooltips with images and formatted text on an edit field. This feature also enables the developer to specify the delay time after hovering before it displays the tooltip message. The information of the ...
    • How to Implement Rich Tooltip to a Grid Field

      Rich tooltip on a grid feature enables the user to see tooltips with images and formatted text on a grid cell upon hovering. This feature also enables the developer to specify the delay time after hovering before it displays the tooltip message. The ...
    • How to Display an Image in a Grid Cell

      1. Set the control name of the grid. 2. On the column name where you want to display the image, set the Text Property of the column heading as follows. <control name>:<grid control name>.ColumnsArea:template=WebImageGrid:<column heading text> ...
    • How to Display an Image and Text in the Same Grid Cell

      1. Set the control name of the grid. 2. For the column where you need the information from, you will need to set the column to visible but set the width to 0 and set the control name of the column. <controlname>:<column text> For example: ...