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
15 replies
Subscribers
7 subscribers
Views
3677 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
I am working in editable grid (Appian 7.9) and observed that if I try to select
vineeta6579
over 9 years ago
I am working in editable grid (Appian 7.9) and observed that if I try to select a single item of the Grid the local!selected will continue to grow without holding the earlier selected values on the form. The same thing is happening when I select grid header check box .
OriginalPostID-151610
OriginalPostID-151610
Discussion posts and replies are publicly visible
Parents
0
amirh
over 9 years ago
I have the same problem. As a workaround, I didn't use the selection option in the editable grid, but I've added a check box in the inline grid row and set the value of it to the row id. The definition of the grid row may looks like this
a!gridRowLayout(
id:ri!index,
contents: {
a!checkboxField(
label:"Select" & ri!index,
choiceLabels :{""},
choiceValues :{if(rule!APN_isBlank(ri!index),{0},ri!index)},
saveInto :{
ri!selectedIndex
}
),
a!textField(
label: "Second Column " & ri!index,
value:ri!items[ri!index].secondColumnValue,
readOnly: true
),
a!textField(
label: "Third Columns " & ri!index,
value: ri!items[ri!index].ThirdColumnVale,
readOnly: true,
align: "RIGHT"
)
}
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
amirh
over 9 years ago
I have the same problem. As a workaround, I didn't use the selection option in the editable grid, but I've added a check box in the inline grid row and set the value of it to the row id. The definition of the grid row may looks like this
a!gridRowLayout(
id:ri!index,
contents: {
a!checkboxField(
label:"Select" & ri!index,
choiceLabels :{""},
choiceValues :{if(rule!APN_isBlank(ri!index),{0},ri!index)},
saveInto :{
ri!selectedIndex
}
),
a!textField(
label: "Second Column " & ri!index,
value:ri!items[ri!index].secondColumnValue,
readOnly: true
),
a!textField(
label: "Third Columns " & ri!index,
value: ri!items[ri!index].ThirdColumnVale,
readOnly: true,
align: "RIGHT"
)
}
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data