Column widgets are used for defining and customizing structured data. They are similar to the data types in mysql, but are more powerful in that functions can be attached.
Labii ELN & LIMS currently provides these widgets:
Edit text value
Edit numeric value
Choose a value from a dropdown
Choose multiple values from a dropdown
Edit boolean value
Display sensitive value as *
Display output of a formula
Display remaining volume
Link to one other record
Link to many other records
Choose of a member
Choose of many members
Choose of a member with email notification
Choose of many members with email notification
Edit date value
Choose of a time
Combination of Date and Time
Add DateTime to Calendar
Basic widget to provide certain types of data.
Use this widget to edit text value. There is no length limit on how much text you can provide.
Use this widget to edit numeric value. The value can be positive (+), negative (-), integer, or float.
Use this widget to choose a value from dropdown list. The items of dropdown list are defined in the default value field of column settings. The widget can be used for controlled vocabulary.
Use this widget to choose multiple values from dropdown list. It is identical to Select widget except that more than one value can be selected.
Use this widget to edit boolean value.
Use this widget to hide sensitive data. The value will be displayed as "****". Use it for password or salary, etc.
To display the hidden value, click "view" icon to display.
Use this widget to display value calculated based on a formula. The formula shall be defined in the Default Value of the column.
[Field 1] + [Field 2]
Wheres, Field is the sid of a column. For example
[8adg0a40x52520ejotyDI] + [69be0a40x52508chmrwBG]
[8adg0a40x52520ejotyDI].substring(1,3) == "ATCG" ? "Good" : "Bad"
a + b
** Exponentiation (ES2016)
% Modulus (Remainder)
Priority calculate with
() is supported,
(100 + 50) * a;
true ? a : b, if the condition is true, then return a, else, return b
new Date(dateString), learn more at here.
abs(x) Returns the absolute value of x
acos(x) Returns the arccosine of x, in radians
asin(x) Returns the arcsine of x, in radians
atan(x) Returns the arctangent of x as a numeric value between -PI/2 and PI/2 radians
atan2(y, x) Returns the arctangent of the quotient of its arguments
ceil(x) Returns the value of x rounded up to its nearest integer
cos(x) Returns the cosine of x (x is in radians)
exp(x) Returns the value of Ex
floor(x) Returns the value of x rounded down to its nearest integer
log(x) Returns the natural logarithm (base E) of x
max(x, y, z, ..., n) Returns the number with the highest value
min(x, y, z, ..., n) Returns the number with the lowest value
pow(x, y) Returns the value of x to the power of y
random() Returns a random number between 0 and 1
round(x) Returns the value of x rounded to its nearest integer
sin(x) Returns the sine of x (x is in radians)
sqrt(x) Returns the square root of x
tan(x) Returns the tangent of an angle
Use this widget to display the remaining volume of a sample or reagent.
Column "Volume Value" with Number widget
The consumption widget requires JSON format default values as below:
volume_value__sid - the sid of the column "Volume Value"
consumption_sample__sid - the sid of the column "Sample" or "Reagent" from the consumption table
consumption_amount__sid - the sid of the column "Amount" from the consumption table
threshold - the color of the value will turn red if remaining value lower than the threshold
ForeignKey is a group of widgets to link one record with one or many other records.
Use this widget to link to one other record. The linked record is clickable.
Use this widget to link to many other records. The usage is same to ForeignKey.
A group of widgets to manage member related functions.
Use this widget to choose a member. Use this widget to assign task to a member.
Use this widget to choose multiple members. The usage is save to Member widget.
Use this widget to choose a member. It is same as Member widget except it will send an email notification to the member.
Use this widget to choose multiple members. It is same as Members widget except it will send an email notification to all selected members.
A group of widgets to handle date and time value.
Use this widget to edit date value. A date picker is provided to select date.
Use this widget to pick a time. Currently, Labii supports time in 30-min intervals.
Use this widget to pick a date and time. This widget is the combination of Date and Time widget.
Use this widget to set appointment and add the appointment calendar. Currently Google calendar is supported.