Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
7 replies
Subscribers
7 subscribers
Views
2170 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Hi Philb, As per one of your suggestion for the query in "
Rajeev Hugar
Certified Lead Developer
over 9 years ago
Hi Philb, As per one of your suggestion for the query in "
forum.appian.com/.../Have 14 columns"
, we added instruction in textField() (Second Column) in gridRowLayout(). But the instruction value is not being displayed.
I have attached screen shot.
Below is the code for SAIL interface
load(
a!formLayout(
label:"Items Cart",
firstColumnContents:{
a!sectionLayout(
label:"",
firstColumnContents: {
a!gridLayout(
headerCells: {
a!gridLayoutHeaderCell(label: "Mfr"),
a!gridLayoutHeaderCell(label: "Part No"),
a!gridLayoutHeaderCell(label: "Part Desc"),
a!gridLayoutHeaderCell(label: "Vendor"),
a!gridLayoutHeaderCell(label: "G/L"),
a!gridLayoutHeaderCell(label: "Vehicle No")
},
rows: {
a!gridRowLayout(
contents: {
a!textField(readOnly: true, value: "ABCD"),
a!textField(instructions:"1234",value: "065211"),
a!textField(readOnly: true, value...
OriginalPostID-156554
OriginalPostID-156554
Discussion posts and replies are publicly visible
0
Rajeev Hugar
Certified Lead Developer
over 9 years ago
...: "VALVE"),
a!textField(readOnly: true, value: "Vendor1"),
a!textField(readOnly: true, value: "Inventory"),
a!textField(readOnly: true, value: "")
}
)
}
)
}
)
}
)
)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 9 years ago
@rajeevh By chance did you get a chance to go through Documentation which says 'When a SAIL component is placed into a grid cell, the following component configurations are ignored: label, instructions, label position.'
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
PhilB
A Score Level 1
over 9 years ago
Ah yes unfortunately that's not supported as sikhi says. Have you merged the columns as suggested? Alternatively, use this SAIL recipe rather than an editable grid and you'll be able to show the instructions:
forum.appian.com/.../SAIL_Recipes.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
gauravg568
over 9 years ago
You could also explore adding each item as a dynamically added section in the items cart form.
forum.appian.com/.../SAIL_Recipes.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
PhilB
A Score Level 1
over 9 years ago
Also just to note that in that example you don't actually need the load() as you're not actually defining any local variables.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Rajeev Hugar
Certified Lead Developer
over 9 years ago
@sikhivahans: Thanks for quick response. pbilb has clarified the doubt.
@pbilb: We are already planning to demo to client similar to SAIL recipe link; To display, two columns section of the selected line item in gridField, so that we can accommodate both scroll bar for Grid Section and proper readability of individual fields in section below.
@gauravg568: Thanks. I will try as per the SAIL recipe.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
PhilB
A Score Level 1
over 9 years ago
Sounds sensible. In our experience, it's better to use the add/edit section recipe when dealing with large datasets for better performance and a cleaner user interface.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel