ActiveGrid pages use layouts to define each element on the Page. Most layouts have parameters that you can set to specify how you want the layout to look or where you want it placed.ActiveGrid provides several different layouts to choose from for each basic type of Page element. The types of Page elements are as follows:
• Group: Groups things on the Page. Some group layouts actually display on the page, such as a bordered group layout, while others are intended for placement only. Groups also include grid layouts, which you use to display lists (Displaying Lists).
• Input Field: Fields in which users can type input or controls in which users can select input (such as check boxes or drop-down menus). You tie these to incoming Page data by setting the Message Ref property (Message Refs).
• Output Field: Fields that display output from the data source. You tie a field to specific Page data by setting the Message Ref property (Message Refs).
• AJAXFrame: AJAX-enabled frames that can display a Page. Similar to iFrames. Each AJAXFrame has an ID that identifies it.
• Submit: Buttons, links, or tabs that perform a submit. Each submit needs an associated Action that tells the Server what to do on the submit.
• Select: Lets users select an item from a list of items (drop-down lists, combo boxes, and so on.)Layouts are defined in a system file called LayoutRenderer.lyt. The location of this file depends on the operating system you’re using:
• Windows and Mac: The file is located in the prod\python\static directory under your ActiveGrid Studio installation directory.
• Linux: The files are located in the lib/common/python/static directory.You can also create your own layout file (.lyt) in the Layout Editor and add the new layout to your project. The new layouts you defined will then be available to your application, along with the layouts provided in the LayoutRenderer.lyt file.
ActiveGrid |
ActiveGrid Documentation |
Version 2.0 |