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
13 replies
Subscribers
9 subscribers
Views
5152 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Is it possible to segregate the difference between Check All and Normal select.
piyusha
over 10 years ago
Is it possible to segregate the difference between Check All and Normal select.
I am having two rows in the Grid. Now whenever I select 2nd row, automatically select all is also getting checked.
And my requirement is to differentiate these two event. I want to process further on the basis of this.
If Rows are selected by clicking on Select all then no need to process.
And if second row is selected after selecting the first then first will be unchecked automatically and second will be checked.
It is like a Radio Button. But in Grid layout it is populating with check box only. I have gone thru all the recipe and tutorial but not found any thing concrete to get it solved.
Could any please suggest. Thanks.
OriginalPostID-141945
OriginalPostID-141945
Discussion posts and replies are publicly visible
0
piyusha
over 10 years ago
@mschmitt..
I need to implement the following-
Requirement -> User can select only one row
Validation should happen only if User Checks "Select All".
But if user select second row after selecting the first then Validation should not fail as previous first row check will be unchecked and second row will be checked and still there is only one selection and there should not be any Invalid selection.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Mike Schmitt
Certified Lead Developer
over 10 years ago
Is this validation required? Or is the scope of the requirement only that only one row can be selected? Because if you implement the code that automatically un-selects any but the most recent row, then (even in the case of "select all" being pressed) there should never be any need for the validation you mention.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
piyusha
over 10 years ago
@mschmitt.. In case of Select All it should not select any Row by default.
Where as if you select second row after selection of first then it should allow by unchecking the previous one and checking the current one.
All this cases are with the use of gridLayout instead of gridField.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
<