Dynamic Temperature Converter

Content Type: Widget
Categories: Utility,User Interface

Overview

The Functionality of the Dynamic Temperature Converter text box can be implemented as follows:

  • The Input Decimal Value attribute take an decimal number in type of Decimal attribute also whenever there is a change in the value, it will automatically convert and show in the text box.
  • On change and On Leave action which will be triggered when there is a change in the value and when the text box is focused out respectively.
  • Decimal Precision attribute take an integer will determine on how many decimal needs to be displayed in the decimal part.
  • With the help of Visibility Attribute you can define whenever this widget show or hide.


Documentation



FOR PLATFORM-SUPPORTED CONTENT



Please see in the Mendix documentation for details.



Description

As the name suggest ,this widget calculate unit conversion dynamically. It takes three attributes first one for Input Decimal Value in the form of Decimal Attribute, second one for Input conversion Rate in the form of Decimal Attribute and the third one for decimal precision in the form of integer Attribute.



Typical usage scenario

Sometimes We have to calculate units in our application.

A typical use case for the Dynamic Temperature Converter widget in Mendix would be in an application that requires users to input values in different units of measurement. For example, an application that calculates the temperature in different units such as Celsius,Fahrenheit and kelvin. The Dynamic Temperature Converter widget can be used to convert these values into a common unit of measurement, such as Celsius in real-time.

The Dynamic Unit Converter widget is highly customizable and can be configured to support a wide range of units and conversion factors. It can also be integrated with other widgets and data sources in Mendix to create more complex applications.

The most profitable thing is this widget did not override your last given attribute value.




Configuration

To use this widget you have to create a dataview / listview put it in and Decimal Input Value and Input Conversion Rate Attribute must be in Decimal and Decimal Precision Attribute must be in Integer. And you can give decimal or integer value in Decimal attribute.

Releases

Version: 1.0.2
Framework Version: 9.18.1
Release Notes: Few Bug Fixes
Version: 1.0.0
Framework Version: 9.18.1
Release Notes: First Release