Barcode

Barcode widget is designed to seamlessly display the barcode of a record within a column

Specs

Label
Value

Version

0.1.0 (updated on 2022-02-26)

Developer

Labii Inc.

Type

Column

Support Configuration

Yes

Support Readonly view

Yes

Support Edit view

Yes

Support Form view

Yes

Support Default value

Yes

Support Import

Yes

Allow multiple

Yes

Overview

Barcode widget is designed to seamlessly display the barcode of a record within a column. This widget automatically showcasing the barcode associated with each entry. In instances where no specific value is provided, the widget defaults to the UID (Unique Identifier), ensuring consistent and efficient organization of information. By effortlessly integrating barcode visualization into column displays, Labii enhances accessibility and usability, facilitating smoother workflows and improved data tracking.

Use case

  1. Use this widget to display barcode of reagent or stock.

Configuration

The widget is designed to function immediately without requiring any configuration. Nevertheless, you have the option to utilize the configuration settings to personalize the appearance of the barcode.

  • Format - Select which barcode type to use. Please check the wikipage of the different barcode types for more information.

  • Height - Height of barcode

  • Width - Width of each single bar

  • Margin - Margin of barcode

  • Should display value - When checked, the value will appear alongside the barcode.

  • Font size - The font size of the value

Examples:

{
    "format": "CODE128", // (optional), default to CODE128, check https://github.com/lindell/JsBarcode/wiki#barcodes for all options
    "height": 30, // (optional), default to 30
    "width": 2, // (optional), default to 2
    "margin": 2, // (optional), default to 2
    "displayValue": true, // (optional), default to true. Set to false to hide value
    "fontSize": 12, // (optional), default to 12
}

Views

See the interface of the widget in the following views.

Readonly view

Readonly view display the values of the column.

Edit view

The Edit view is the interface that allows you to modify the value.

Form view

The Form view is the field integrated into the add form for collecting values when creating a new record.

The Form view is same as the Edit view.

Data

Each widget in Labii stores data in a unique manner; refer below to understand how data from this widget is stored.

Data format

Option value in string.

Default value

The Default Value field within the column allows you to specify the default value when a record is created.

Default value shall be the value in string.

Import value

The Import Value is the value you need to include in your Excel table for it to be imported into Labii.

Import value shall be the value in string.

Last updated