by Joget, Inc.
266

You can control your datalist column's display format using the Javascript Condition Formatter Plugin.

This plugin is for Joget v5 Enterprise users only. Joget v6 & DX already have this feature built-in.

For example, you can now display numerical values in your datalist  column the color red all values <= 0 and the color green all values > 0 or display comma in number lists.

Steps:

  1. Edit the column properties in Datalist Builder.
  2. Click to the 'Formatter" tab.
  3. Select option "Javascript Condition Formatter".
  4. Click next button.
  5. In "Configure Javascript Condition Formatter" tab, you can enter as follows:
Rule Formatting
parseInt({quantity}) <= 0 "<span style=\"color:red\">" + {quantity} + "</span>"
parseInt({quantity}) > 0 "<span style=\"color:green\">" + {quantity} + "</span>"
1==1 Number({quantity}).toFixed(2).replace(/\B(?=(\d{3})+(?!\d))/g, ",")

Do try the related plugin using Beanshell datalist formatting.

  

What's New

  • 2019-04-16: Fix regex parsing bug in Condition Datalist Formatter Plugin.

 

Steps To Import This Plugin

  1. Click "Download" on this plugin screen (It will be a .jar file).
  2. Go to your Joget localhost or server, in Joget Console navigate to "Admin Bar>Systems Settings>Manage Plugins" and click "Upload Plugins" button.
  3. In "Upload Plugin", select the plugin .jar file you just downloaded, then click "Upload".
  4. Depending on the plugin type, you can now view your new plugin in your form or datalist or userview.
  5. Remember to always uninstall the old plugin before uploading a new version.
  6. The Joget Knowledge Base has more information on managing and developing plugins.

 

Additional Plugin Information
April 16, 2019
FREE
3910
v2

Joget, Inc.
info@joget.org

More Plugins by Joget, Inc.
1 Account Creation App
2 Aggregate Datalist Binder Plugin
3 AJAX Select Box Plugin
4 API Builder Addon For DX
5 Approve Via Email
6 Asset Management and Tracking
7 Beanshell Datalist Formatter Plugin
8 Book Catalog
9 Card Viewer Userview Menu Plugin
10 Classic HTML Userview Menu
11 Color Datalist Formatter Plugin
12 Color Picker Plugin
13 Condition Participant Plugin
14 Country List
15 Datalist Hash Variable Plugin v6
16 Duplicate Data Plugin
17 Employee Loan Management
18 Employee Services Portal
19 Employee Temperature Tracking App
20 Enhanced Task Delegation
21 Form File Manager Plugin
22 Google Maps App
23 HR Expenses Claim v6
24 Image Datalist Formatter
25 Internal Service Request (DX)
26 ISIC List
27 Job Recruitment Management
28 Joget User Mgnt Utility v6 & DX
29 JSON Form Options Binder Plugin
30 Kerberos Directory Manager Plugin
31 Loan Calculator
32 Medical Reimbursement
33 Meeting Room Booking App for DX
34 Messaging App
35 Multi Datalist Formatters Plugin
36 Multi Store Binders Plugin
37 Multirow Condition Form Binder
38 NAICS List
39 Newsletter Management
40 On-Site Management App
41 OpenID Connect Directory Manager Plugin
42 Partner Opportunity Locking
43 Process Enhancement Plugin DX
44 Process Monitoring Utility (MS-SQL)
45 Process Monitoring Utility (MySQL)
46 Process Version Migrator Utility
47 Purchase Requisition for v6
48 Push Notification Plugin Tool
49 Report Builder Addon For DX
50 SAML Directory Manager Plugin
51 Scheduler Plugin
52 Section Wizard Plugin
53 Service Help Desk
54 Signature Hash Variable Plugin
55 Simple Leave & Vacation
56 Simple Visitor Management
57 Star Rating Plugin
58 Stationery Request
59 Student Temperature Tracking App
60 Task Management and Tracking App
61 Training Evaluation
62 Travel Advisory Tracking App
63 Travel Request
64 Tree Menu Plugin
65 Tutorial App: AJAX Selectbox
66 Tutorial App: Candlestick Charting
67 Tutorial App: Gantt Chart
68 Tutorial App: JSON Form Options Binder
69 Tutorial App: Section Wizard & Section Tab
70 Tutorial App: Tree Menu
71 User Notification (Customizable)
72 Workflow Variable Update Process Tool
View More Plugins By Joget, Inc.
Write a review
Reviews
Print