SlideShare a Scribd company logo
1 of 48
How to Guide:
Make Quotes and Offers to
Customers in JIRA
The result: Customer Quotes
attached to JIRA Issues
Quotes can be Printed Easily
FOLLOW THESE STEPS TO ADD THE
TABLE GRID TO YOUR JIRA ISSUES
Add a custom field
Select Table Grid Editor and click next
Give a name and description to the Table Grid Editor.
For example, if you are going to use the Table Grid Editor
to store offers made to the customer, you can call it Quotes.
Select the screens where you want
to include the Quotes.
Goto the relevant screen and you will
find the Table Grid Editor
a) Goto Custom Fields
b) Hit configure
Click Edit Default Value
Let’s configure Table
Grid Editor for Quotes
Get the configuration files
used in this Example
> Download <
Continue this presentation for the Explanation of the configuration file
Basic configuration of the Table Grid and where to store its contents
gd.tablename=quotes
gd.ds=jira
gd.visiblerows = auto
gd.delete.confirmation = true

Name of the table in database
Basic configuration of the Table Grid and where to store its contents
gd.tablename=quotes
gd.ds=jira
gd.visiblerows = auto
gd.delete.confirmation = true

Where contents of table is to be stored (datasource)
Basic configuration of the Table Grid and where to store its contents
gd.tablename=quotes
gd.ds=jira
gd.visiblerows = auto
gd.delete.confirmation = true

Let Table Grid decide how many rows to show
Basic configuration of the Table Grid and where to store its contents
gd.tablename=quotes
gd.ds=jira
gd.visiblerows = auto
gd.delete.confirmation = true

ask for confirmation before deleting a set of rows
Define the column specifications
gd.columns = nr, prodtype, descr, quant, unitprice, total

Column Identifiers
Let’s define the Nr column
gd.columns = nr, prodtype, descr, quant, unitprice, total
col.nr=Nr
col.nr.type=integer
col.nr.required=true
col.nr.width=50

Column header name
Let’s define the Nr column
gd.columns = nr, prodtype, descr, quant, unitprice, total
col.nr=Nr
col.nr.type=integer
col.nr.required=true
col.nr.width=50

Column type
Different Supported Column Types
col.name.type = ( checkbox | date | integer | list | number | radio | sequence | string | textarea )

Some Examples:

textarea

number

integer
list

radio

date
Let’s define the Nr column
gd.columns = nr, prodtype, descr, quant, unitprice, total
col.nr=Nr
col.nr.type=integer
col.nr.required=true
col.nr.width=50

The field must be filled in, if forgotten tell the user
Let’s define the Nr column
gd.columns = nr, prodtype, descr, quant, unitprice, total
col.nr=Nr
col.nr.type=integer
col.nr.required=true
col.nr.width=50

Width of column in pixels
Let’s define the Product Code column
gd.columns = nr, prodtype, descr, quant, unitprice, total
col.prodtype=Product Code
col.prodtype.type=list
col.prodtype.width=150
Let’s define the Product Code column
gd.columns = nr, prodtype, descr, quant, unitprice, total
col.prodtype=Product Code
col.prodtype.type=list
col.prodtype.width=150

Column header name
Let’s define the Product Code column
gd.columns = nr, prodtype, descr, quant, unitprice, total
col.prodtype=Product Code
col.prodtype.type=list
col.prodtype.width=150

Column type, “list” = elements in a dropdown box
Let’s define the Product Code column
gd.columns = nr, prodtype, descr, quant, unitprice, total
col.prodtype=Product Code
col.prodtype.type=list
col.prodtype.width=150

Width of column in pixels
WHAT ABOUT THE ELEMENTS OF
THE DROPDOWN BOX?
OPTION 1: LIST THEM IN THE
CONFIGURATION FILE
Let’s define the Product Code column
gd.columns = nr, prodtype, descr, quant, unitprice, total
col.prodtype=Product Code
col.prodtype.type=list
col.prodtype.width=150
# Dropdown list of options embedded in configuration file
How many elements are in the dropdown
col.prodtype.list.size=3
list
col.prodtype.value1=Consultancy
col.prodtype.value2=Maintenance
col.prodtype.value3=License
Let’s define the Product Code column
gd.columns = nr, prodtype, descr, quant, unitprice, total
col.prodtype=Product Code
col.prodtype.type=list
col.prodtype.width=150
# Dropdown list of options embedded in configuration file
col.prodtype.list.size=3
col.prodtype.value1=Consultancy
Specify the values from which the user can
col.prodtype.value2=Maintenance
choose in the dropdown list
col.prodtype.value3=License
OPTION 2: LOAD THEM FROM AN
EXTERNAL SQL DATABASE
Let’s define the Product Code column
gd.columns = nr, prodtype, descr, quant, unitprice, total
col.prodtype=Product Code
col.prodtype.type=list
col.prodtype.width=150
# Dropdown list of options from external SQL database
col.prodtype.query=SELECT name, id FROM products WHERE STATUS='A'
col.prodtype.ds=erp

SQL Query to populate the elements
in the list from an external database.
Let’s define the Product Code column
gd.columns = nr, prodtype, descr, quant, unitprice, total
col.prodtype=Product Code
col.prodtype.type=list
col.prodtype.width=150
# Dropdown list of options from external SQL database
col.prodtype.query=SELECT name, id FROM products WHERE STATUS='A'
col.prodtype.ds=erp
Name of the data source to be used where the SQL query
needs to be executed.
Securely Specify the datasource “erp”
as a SQL Data Source
Securely Specify the datasource “erp”
as a SQL Data Source
Let’s define the Description column
gd.columns = nr, prodtype, descr, quant, unitprice, total
col.descr=Description
col.descr.type = string
col.descr.width=180
col.descr.maxLength=40

Name of column header
Let’s define the Description column
gd.columns = nr, prodtype, descr, quant, unitprice, total
col.descr=Description
col.descr.type = string
col.descr.width=180
col.descr.maxLength=40

Plain text field
Let’s define the Description column
gd.columns = nr, prodtype, descr, quant, unitprice, total
col.descr=Description
col.descr.type = string
col.descr.width=180
col.descr.maxLength=40

Width of 180px defined
Let’s define the Description column
gd.columns = nr, prodtype, descr, quant, unitprice, total
col.descr=Description
col.descr.type = string
col.descr.width=180
col.descr.maxLength=40

Max. length of the description set to 40
gd.columns = nr, prodtype, descr, quant, unitprice, total

Let’s define the Qty and
Unit Price column

col.quant=Qty
col.quant.type=number
col.quant.sortable=true
col.quant.required=true

Header name of the column

col.unitprice=Unit Price
col.unitprice.type=number
col.unitprice.sortable=true
col.unitprice.required=true

Header name of the column
gd.columns = nr, prodtype, descr, quant, unitprice, total
col.quant=Qty
col.quant.type=number
col.quant.sortable=true
col.quant.required=true
col.unitprice=Unit Price
col.unitprice.type=number
col.unitprice.sortable=true
col.unitprice.required=true

Let’s define the Qty and
Unit Price column

Cell contents can contain numbers

Cell contents can contain numbers
gd.columns = nr, prodtype, descr, quant, unitprice, total

Let’s define the Qty and
Unit Price column

col.quant=Qty
col.quant.type=number
col.quant.sortable=true
col.quant.required=true

Allow the user to sort the column by
clicking the column header

col.unitprice=Unit Price
col.unitprice.type=number
col.unitprice.sortable=true
col.unitprice.required=true

Allow the user to sort the column by
clicking the column header
gd.columns = nr, prodtype, descr, quant, unitprice, total

Let’s define the Qty and
Unit Price column

col.quant=Qty
col.quant.type=number
col.quant.sortable=true
col.quant.required=true

Cell contents must be filled in

col.unitprice=Unit Price
col.unitprice.type=number
col.unitprice.sortable=true
col.unitprice.required=true

Cell contents must be filled in
gd.columns = nr, prodtype, descr, quant, unitprice, total
col.total=Total
col.total.type=number
col.total.editable=false
col.total.sortable=true
col.total.formula = {quant} * {unitprice}
col.total.summary=sum

Let Table Grid calculate
the total for each row

Prevent the field to be editable by the user
gd.columns = nr, prodtype, descr, quant, unitprice, total
col.total=Total
col.total.type=number
col.total.editable=false
col.total.sortable=true
col.total.formula = {quant} * {unitprice}
col.total.summary=sum

Let Table Grid calculate
the total for each row

Put the column identifiers between
{ } and use arithmetic notation. For
all possibilities with formulas, have
a look at the Formula Manual
gd.columns = nr, prodtype, descr, quant, unitprice, total
col.total=Total
col.total.type=number
col.total.editable=false
col.total.sortable=true
col.total.formula = {quant} * {unitprice}
col.total.summary=sum

Add a bottom row with sum of all
values in the total column
Get Table Grid Editor addon
from the
JIRA Marketplace
> Download <

More Related Content

Viewers also liked

Project Milestone Tracking in JIRA Issues
Project Milestone Tracking in JIRA IssuesProject Milestone Tracking in JIRA Issues
Project Milestone Tracking in JIRA IssuesTableGridEditor
 
elastic properties of solids
elastic properties of solidselastic properties of solids
elastic properties of solidsPrasetyo Thomas
 
06 los materiales educativos - unasam
06   los materiales educativos - unasam06   los materiales educativos - unasam
06 los materiales educativos - unasamfelixvalerio
 
Power & Urban Space
Power & Urban SpacePower & Urban Space
Power & Urban Spaceasawari62
 
Rozmowa doradcza
Rozmowa doradczaRozmowa doradcza
Rozmowa doradczajustyy
 

Viewers also liked (7)

Ferias em bombinhas
Ferias em bombinhasFerias em bombinhas
Ferias em bombinhas
 
Risk management
Risk managementRisk management
Risk management
 
Project Milestone Tracking in JIRA Issues
Project Milestone Tracking in JIRA IssuesProject Milestone Tracking in JIRA Issues
Project Milestone Tracking in JIRA Issues
 
elastic properties of solids
elastic properties of solidselastic properties of solids
elastic properties of solids
 
06 los materiales educativos - unasam
06   los materiales educativos - unasam06   los materiales educativos - unasam
06 los materiales educativos - unasam
 
Power & Urban Space
Power & Urban SpacePower & Urban Space
Power & Urban Space
 
Rozmowa doradcza
Rozmowa doradczaRozmowa doradcza
Rozmowa doradcza
 

Recently uploaded

Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 

Recently uploaded (20)

Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 

Make Quotes for Customers in JIRA

  • 1. How to Guide: Make Quotes and Offers to Customers in JIRA
  • 2. The result: Customer Quotes attached to JIRA Issues
  • 3. Quotes can be Printed Easily
  • 4. FOLLOW THESE STEPS TO ADD THE TABLE GRID TO YOUR JIRA ISSUES
  • 5. Add a custom field
  • 6. Select Table Grid Editor and click next
  • 7. Give a name and description to the Table Grid Editor. For example, if you are going to use the Table Grid Editor to store offers made to the customer, you can call it Quotes.
  • 8. Select the screens where you want to include the Quotes.
  • 9. Goto the relevant screen and you will find the Table Grid Editor
  • 10. a) Goto Custom Fields b) Hit configure
  • 12. Let’s configure Table Grid Editor for Quotes
  • 13. Get the configuration files used in this Example > Download < Continue this presentation for the Explanation of the configuration file
  • 14. Basic configuration of the Table Grid and where to store its contents gd.tablename=quotes gd.ds=jira gd.visiblerows = auto gd.delete.confirmation = true Name of the table in database
  • 15. Basic configuration of the Table Grid and where to store its contents gd.tablename=quotes gd.ds=jira gd.visiblerows = auto gd.delete.confirmation = true Where contents of table is to be stored (datasource)
  • 16. Basic configuration of the Table Grid and where to store its contents gd.tablename=quotes gd.ds=jira gd.visiblerows = auto gd.delete.confirmation = true Let Table Grid decide how many rows to show
  • 17. Basic configuration of the Table Grid and where to store its contents gd.tablename=quotes gd.ds=jira gd.visiblerows = auto gd.delete.confirmation = true ask for confirmation before deleting a set of rows
  • 18. Define the column specifications gd.columns = nr, prodtype, descr, quant, unitprice, total Column Identifiers
  • 19. Let’s define the Nr column gd.columns = nr, prodtype, descr, quant, unitprice, total col.nr=Nr col.nr.type=integer col.nr.required=true col.nr.width=50 Column header name
  • 20. Let’s define the Nr column gd.columns = nr, prodtype, descr, quant, unitprice, total col.nr=Nr col.nr.type=integer col.nr.required=true col.nr.width=50 Column type
  • 21. Different Supported Column Types col.name.type = ( checkbox | date | integer | list | number | radio | sequence | string | textarea ) Some Examples: textarea number integer list radio date
  • 22. Let’s define the Nr column gd.columns = nr, prodtype, descr, quant, unitprice, total col.nr=Nr col.nr.type=integer col.nr.required=true col.nr.width=50 The field must be filled in, if forgotten tell the user
  • 23. Let’s define the Nr column gd.columns = nr, prodtype, descr, quant, unitprice, total col.nr=Nr col.nr.type=integer col.nr.required=true col.nr.width=50 Width of column in pixels
  • 24. Let’s define the Product Code column gd.columns = nr, prodtype, descr, quant, unitprice, total col.prodtype=Product Code col.prodtype.type=list col.prodtype.width=150
  • 25. Let’s define the Product Code column gd.columns = nr, prodtype, descr, quant, unitprice, total col.prodtype=Product Code col.prodtype.type=list col.prodtype.width=150 Column header name
  • 26. Let’s define the Product Code column gd.columns = nr, prodtype, descr, quant, unitprice, total col.prodtype=Product Code col.prodtype.type=list col.prodtype.width=150 Column type, “list” = elements in a dropdown box
  • 27. Let’s define the Product Code column gd.columns = nr, prodtype, descr, quant, unitprice, total col.prodtype=Product Code col.prodtype.type=list col.prodtype.width=150 Width of column in pixels
  • 28. WHAT ABOUT THE ELEMENTS OF THE DROPDOWN BOX?
  • 29. OPTION 1: LIST THEM IN THE CONFIGURATION FILE
  • 30. Let’s define the Product Code column gd.columns = nr, prodtype, descr, quant, unitprice, total col.prodtype=Product Code col.prodtype.type=list col.prodtype.width=150 # Dropdown list of options embedded in configuration file How many elements are in the dropdown col.prodtype.list.size=3 list col.prodtype.value1=Consultancy col.prodtype.value2=Maintenance col.prodtype.value3=License
  • 31. Let’s define the Product Code column gd.columns = nr, prodtype, descr, quant, unitprice, total col.prodtype=Product Code col.prodtype.type=list col.prodtype.width=150 # Dropdown list of options embedded in configuration file col.prodtype.list.size=3 col.prodtype.value1=Consultancy Specify the values from which the user can col.prodtype.value2=Maintenance choose in the dropdown list col.prodtype.value3=License
  • 32. OPTION 2: LOAD THEM FROM AN EXTERNAL SQL DATABASE
  • 33. Let’s define the Product Code column gd.columns = nr, prodtype, descr, quant, unitprice, total col.prodtype=Product Code col.prodtype.type=list col.prodtype.width=150 # Dropdown list of options from external SQL database col.prodtype.query=SELECT name, id FROM products WHERE STATUS='A' col.prodtype.ds=erp SQL Query to populate the elements in the list from an external database.
  • 34. Let’s define the Product Code column gd.columns = nr, prodtype, descr, quant, unitprice, total col.prodtype=Product Code col.prodtype.type=list col.prodtype.width=150 # Dropdown list of options from external SQL database col.prodtype.query=SELECT name, id FROM products WHERE STATUS='A' col.prodtype.ds=erp Name of the data source to be used where the SQL query needs to be executed.
  • 35. Securely Specify the datasource “erp” as a SQL Data Source
  • 36. Securely Specify the datasource “erp” as a SQL Data Source
  • 37. Let’s define the Description column gd.columns = nr, prodtype, descr, quant, unitprice, total col.descr=Description col.descr.type = string col.descr.width=180 col.descr.maxLength=40 Name of column header
  • 38. Let’s define the Description column gd.columns = nr, prodtype, descr, quant, unitprice, total col.descr=Description col.descr.type = string col.descr.width=180 col.descr.maxLength=40 Plain text field
  • 39. Let’s define the Description column gd.columns = nr, prodtype, descr, quant, unitprice, total col.descr=Description col.descr.type = string col.descr.width=180 col.descr.maxLength=40 Width of 180px defined
  • 40. Let’s define the Description column gd.columns = nr, prodtype, descr, quant, unitprice, total col.descr=Description col.descr.type = string col.descr.width=180 col.descr.maxLength=40 Max. length of the description set to 40
  • 41. gd.columns = nr, prodtype, descr, quant, unitprice, total Let’s define the Qty and Unit Price column col.quant=Qty col.quant.type=number col.quant.sortable=true col.quant.required=true Header name of the column col.unitprice=Unit Price col.unitprice.type=number col.unitprice.sortable=true col.unitprice.required=true Header name of the column
  • 42. gd.columns = nr, prodtype, descr, quant, unitprice, total col.quant=Qty col.quant.type=number col.quant.sortable=true col.quant.required=true col.unitprice=Unit Price col.unitprice.type=number col.unitprice.sortable=true col.unitprice.required=true Let’s define the Qty and Unit Price column Cell contents can contain numbers Cell contents can contain numbers
  • 43. gd.columns = nr, prodtype, descr, quant, unitprice, total Let’s define the Qty and Unit Price column col.quant=Qty col.quant.type=number col.quant.sortable=true col.quant.required=true Allow the user to sort the column by clicking the column header col.unitprice=Unit Price col.unitprice.type=number col.unitprice.sortable=true col.unitprice.required=true Allow the user to sort the column by clicking the column header
  • 44. gd.columns = nr, prodtype, descr, quant, unitprice, total Let’s define the Qty and Unit Price column col.quant=Qty col.quant.type=number col.quant.sortable=true col.quant.required=true Cell contents must be filled in col.unitprice=Unit Price col.unitprice.type=number col.unitprice.sortable=true col.unitprice.required=true Cell contents must be filled in
  • 45. gd.columns = nr, prodtype, descr, quant, unitprice, total col.total=Total col.total.type=number col.total.editable=false col.total.sortable=true col.total.formula = {quant} * {unitprice} col.total.summary=sum Let Table Grid calculate the total for each row Prevent the field to be editable by the user
  • 46. gd.columns = nr, prodtype, descr, quant, unitprice, total col.total=Total col.total.type=number col.total.editable=false col.total.sortable=true col.total.formula = {quant} * {unitprice} col.total.summary=sum Let Table Grid calculate the total for each row Put the column identifiers between { } and use arithmetic notation. For all possibilities with formulas, have a look at the Formula Manual
  • 47. gd.columns = nr, prodtype, descr, quant, unitprice, total col.total=Total col.total.type=number col.total.editable=false col.total.sortable=true col.total.formula = {quant} * {unitprice} col.total.summary=sum Add a bottom row with sum of all values in the total column
  • 48. Get Table Grid Editor addon from the JIRA Marketplace > Download <