mrc logo mrc logo
  • m-Power m-Power
    What is m-Power?
    Overview Demos Build Process Case Studies Specs Pricing Trial
    m-Power Resources
    Overview How-To Videos Webinars & Podcasts White Papers Fact Sheets
  • Solutions Solutions
    What does m-Power build?
    Overview Database Front-Ends Reporting CRM Systems Business Intelligence Dashboards Inventory Management Mobile Apps ERP Enhancements Modernization Spreadsheets to the web MS Access to the web B2B/Web Portals Scheduling Embedded Analytics Web Forms Workflow Data Exploration Budgeting & Forecasting APIs and Web Services Db2 Web Query Alternative
    Solutions by Industry
    Overview Manufacturing Government Foodservice Software Vendors Logistics & Supply Chain Software Consultants Healthcare
  • Services Services
    Development Services Training Mentoring
  • About About
    Overview Partners Press Releases Careers Events Contact Blog
  • Support Support
    Support Home FAQ Documentation Customer Portal Enhancements Updates Roadmap Techblog
Try m-Power

m-Power Manual

Browse:

  • Home
  • m-Painter
  • Widget Panel
Back to Manual

Widget Panel

 

Jump to:
Grid Widget
Tabbed Widget
Accordion Widget
Release Notes

The m-Painter Widget panel allows developers to add additional structure to their application by adding layouts that better organize the output. Available options are:

  • Grid Widget — The most popular dashboard layout. Users can see all sections at one time.
  • Tabbed Widget — The tabbed layout allows users to see one section at a time. All other sections are hidden behind the active section.
  • Accordion Widget — Similar to the Tabbed Widget, only one section can be seen at a time. However, with an accordion layout, selecting a different section causes the active session to be collapsed, similar to a musical accordion.

Each of these options organize the output of your application differently. Each option and how you can utilize them will be discussed below.

The widget option can be accessed directly from the m-Painter toolbar. Simply click on the "Insert Layout Widget" button.

Grid Widget

Select the "Grid Widget" from the "Widget Type" drop-down list. Select the number of rows & the number of columns you would like to see in your grid. Next, you have the following three options:

  • Insert main app content into widget? — Checked by default, causes your current application's main table to be placed inside the first section of your grid. Unchecking this option causes your grid widget to be placed outside of your application's main table.
  • Enable drag and drop for widget items? — Checked by default, this option allows your end user to move the sections at runtime.
  • Use portlet styling? — Checked by default, adds an additional look to each section of the grid, adding in a customizable Title tag and allows the ability of minimizing and maximizing the porlet.

Click OK and your grid widget will be created.

Next, we need to begin inserting content into our grid. Click on the "Replace this text with your content" area and press the delete key.

Note: Be sure that you only click on the text, not the title. If not, you may accidentally corrupt your grid widget.

With your cursor in the same location, feel free to use the Import Panel to bring content from another application into this grid. More information about Importing can be found here.

Note: While most developers will use the Grid Widget to import in content, you are not required to do so. You can fill your grid with content from the current application or even type in content manually!

After you have added in all of your custom content, be sure to modify the "Portlet Title" by double clicking on "Portlet Title", then changing the text to include a more appropriate title.

Once completed, be sure to save your changes, then run your application! Be sure to experiment at run-time by dragging & dropping and minimizing/maximizing your grid sections.

Tabbed Widget

Select the "Tabbed Widget" from the "Widget Type" drop-down list. Select the number of tabs you wish to include with your widget.

  • Insert main app content into widget? — Checked by default, causes your current application's main table to be placed inside the first section of your tab. Unchecking this option causes your Tabbed Widget to be placed outside of your application's main table.

Click OK.

Click the "Replace this text with your content" area and press the delete key. Use the Import feature or free-form text to add content to this tab area. Lastly, change the Tab title text by double clicking on the individual tab and modifying the text as necessary.

To add or remove an additional Tab, right click into any tabbed section and select Insert/Delete Tab.

Once completed, be sure to Save your application.

Accordion Widget

Select the "Accordion Widget" from the "Widget Type" drop-down list. Select the number of sections you wish to include with your widget.

  • Insert main app content into widget? — Checked by default, causes your current application's main table to be placed inside the first section of your accordion. Unchecking this option causes your Accordion Widget to be placed outside of your application's main table.

Click OK.

Click the "Replace this text with your content" area and press the delete key. Use the Import feature or free-form text to add content to this tab area. Lastly, change the Tab title text by double clicking on the individual section and modifying the text as necessary.

Once completed, be sure to Save your application.

Release Notes

  • Widgets can only be added to applications that have been generated with the September 28th, 2010 m-Power update (or later).
  • If you decide you no longer which to have a widget within your application, simply click on the "Insert Widget" icon and select "Remove Widget" from the Widget Type drop-down list.
  • Developers can easily switch between different Widget types by clicking on the "Insert Widget" icon and selecting a different Widget Type from the drop-down list. Widget section content will be retained when changing between Widget types.
  • Only one widget type can be used per application.
  • End-users who take advantage of the Portlet Drag and Drop Functionality are not able, at the present time, to save their changes for future use.

Created: September 21, 2010 | Modified: August 21, 2017

Search


Browse By Category

Build Process (13)
Starting with m-Power (8)
Retrievals (10)
Reports (15)
Summaries (4)
Maintainers (17)
Graphs (8)
m-Power Data Explorer (4)
General (24)
Calculations (5)
Utilities (9)
m-Power Administration (23)
Security (11)
Freemarker (6)
m-Painter (29)
Form Validation (5)
External Objects & UDFs (12)
Deprecated Documentation (23)
Bootstrap Templates (7)

Popular Tags

Advanced Reports DB2 Getting Started Record Selections Database Bootstrap Templates Parameters Popular Compiling Calculations SQL Maintainers Graphs Email Tomcat m-Painter Dropdowns Security Report Data Dictionary Form Validation Graph Properties Java Administration Freemarker Excel External Objects Dates Video Application Properties Production Performance RPG Admin Summaries Bar Graphs App Properties Maintainer Graphing mrc-Productivity Series Prompt Screens Retrieval Build Process Retrievals

See all tags »

michaels, ross & cole, ltd. (mrc)

Privacy Policy Cookie Policy Cookie Settings Notice at Collection Do Not Sell or Share My Personal Information

mrc (US)

2001 Midwest Road
Suite 310
Oak Brook, IL 60523
630-916-0662

mrc (UK)

Mortlake Business Centre
20 Mortlake High Street
London, SW14 8JN
+44-20-335-59566


© 2024 mrc. All rights reserved.