Is it possible to segregate the difference between Check All and Normal select.

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

Parents
  • Thanks Philb.. but I was also able to implement the selection. Only problem is with Select All and With 2 rows in the GRID.
    Take a example - we have a condition where one can select only one row at a Time and if Select All then it will fail Validation.
    Case-:
    If you select first Row. Now for the selection of second Row It will automatically select All and failed Validations. Though it should uncheck the first Row and Check the second.

    In your SAIL expression, you are handling this but if you "select All" multiple times then it is selecting either of the row.
    And if you include validation in your expression then other case will fail i.e. selecting the second.

    I tried many ways but couldn't get through.
Reply
  • Thanks Philb.. but I was also able to implement the selection. Only problem is with Select All and With 2 rows in the GRID.
    Take a example - we have a condition where one can select only one row at a Time and if Select All then it will fail Validation.
    Case-:
    If you select first Row. Now for the selection of second Row It will automatically select All and failed Validations. Though it should uncheck the first Row and Check the second.

    In your SAIL expression, you are handling this but if you "select All" multiple times then it is selecting either of the row.
    And if you include validation in your expression then other case will fail i.e. selecting the second.

    I tried many ways but couldn't get through.
Children
No Data