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
9 replies
Subscribers
7 subscribers
Views
4163 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Can we dynamically change list of dropdown values for each row of Grid control ?
achaugule
over 9 years ago
Can we dynamically change list of dropdown values for each row of Grid control ?
OriginalPostID-144319
OriginalPostID-144319
Discussion posts and replies are publicly visible
0
Conor Cahill
Certified Lead Developer
over 9 years ago
If you are using SAIL then this is not too difficult. You can use the cascading dropdown SAIL recipe to help get you started:
forum.appian.com/.../SAIL_Recipes.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
achaugule
over 9 years ago
I am not using SAIL, is there any way using JS.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 9 years ago
@achaugule I did the same in my internal project using the js functions in Advanced form utilities. But remember that you need to code heavily for doing so.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
achaugule
over 9 years ago
hey thanks for an quick update..
I have used window.FormAPI.updateDropdownValues() function of Advance form utilities for normal dropdowns in my earlier projects. Does the same function work for grid dropdown as well?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 9 years ago
@achaugule Usage of updateGridDropdownValues is suggested in your case. Attached the js file of Advanced form utilities which includes the functions in order to operate over a gird effectively.
FormsExt.js
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
achaugule
over 9 years ago
Thanks a lot :) its working. Just one last doubt, there is change event associated with dropdown, can we fetch row id for which we have changed dropdown value.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 9 years ago
Please make use of this.index OR window.FormDesigner.lastRowEvent.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
achaugule
over 9 years ago
window.FormDesigner.lastRowEvent works for me, Thank you very much.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 9 years ago
:) Great!!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel