Question
Ford Motor Company
IN
Last activity: 25 Sep 2019 7:44 EDT
Chrome table multiple row selection
I want to select multiple row from chrome table.
when i'm doing manually, i used to click the first row and press shift key and click last row to select all the rows.
But i couldn't do the same in pega. Kindly advise
***Edited by Moderator Marissa to update platform capability tags****
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
FR
Hello,
I don't think we have an Out-Of-The-Box approach for doing this. You might need custom code here, what's your Pega version?
Ford Motor Company
IN
I am using V8.0.2032.0
Achmea
NL
Is the method "SendKeys" available?
Ford Motor Company
IN
Hi Arjan,
the SendKeys is not available for me.
Pegasystems Inc.
IN
Hi Gopinathan,
OOTB we don't have the capability for grid multi row select. You can achieve that by adding a column to the grid containing a checkbox control with property as "pySelected". Then configure the actions based on "pySelected" set to true.
Thanks.
Ford Motor Company
IN
AS I am using java based application, I unable to see HTML table designer option in the interrogation form and am not able to find the "onclick" or pySelected option in the table or properties. I tried with java script to raise the event . But no luck.
Pegasystems Inc.
US
Hi Gopinathan,
Like rajkv mentions use a checkbox with pySelected property.
You could also try the following :
you can mimic selection like Chrome table by configuring "onClick" action on the row, which actually toggles the value of pySelected property for the row. You can even change the style to bring it closer to the behavior you need.
Ford Motor Company
IN
AS I am using java based application, I unable to see HTML table designer option in the interrogation form and am not able to find the "onclick" or pySelected option in the table or properties. I tried with java script to raise the event . But no luck.
Pegasystems Inc.
US
Hi Gopi
Apart from some of the good suggestions offered already, it might also be good to understand why you are attempting to do this and if the UI control that you are using is the right one for your requirement.
You don't want to implement a checkbox in the grid that has multiple rows (without pagination would be even worse) to move them to a different section etc and run into performance issues because you are processing several rows at once. I don't know your requirement here, but speculating. You may want to see if build a list control may be better suited to your requirement in that case.
Ford Motor Company
IN
I don't have the check box feature in my application. So I am unable to use this option.
CommonWealth Bank of Australia
IN
Please have a look at these articles :
https://collaborate.pega.com/question/grid-repeat-layout-select-multiple-rows
https://collaborate.pega.com/question/can-we-do-ctrlclick-select-multiple-rows-grid