Cireson Partners, Customers and Community members share your customizations and examples here to help benefit the community as a whole to earn Kudos and badges.
DISCLAIMER
All files and projects located here are provided and come "as-is" and without any warranty or support. Use at your own risk. Your use of Community Uploads is subject to our Terms of Use.
Cireson does not and will not support or maintain these enhancements, extensions, and scripts.
For Team Cireson uploads click here.
Download: Improve UI on Request Offering Grid Picker
All,
We use the Grid picker within RO's all the time, and many of these pickers enable the end-user to make multiple selections. Personally I'm not a big fan of the OOB grid picker for Request Offerings, as the picker provides no feedback to the end-user when they make a selection, and this creates much confusion... hence the following feature request.
https://community.cireson.com/discussion/1101/improve-user-interface-for-ro-query-results-object-picker#latest
I encourage you to add your vote .
In the meantime, I have written the custom.js / custom.css customisation attached to help people out who are in a similar dilemma. This code is mixed in with Joivan Hedrick's code to "alphabetise" the grid data, as both of these two customisations complement each other. Note: this code has only been tested in Cireson v6.x of the portal browsing with IE11.
As you can see from the pic below, as you change your selection in the grid picker, it dynamically updates the selection list just below the picker. Works for both multi-picker and single-picker query result grids.
Note: I did have problems retrieving all of the selected items via grid.select(), as it only ever returned one result. So to get around this I had to create a separate array for tracking selected items. I'm sure this code could be improved, and I welcome any tips from others
Hope this helps a few people out.
Cheers,
Adrian
Comments
Hope it helps you guys! Let me know if you have any issues with it.
Adrian
I had a problem where on IE only, your code would not run if I clicked on a Request Offering from the portal home page but only when I refreshed the RO page. It would work normally on Edge and Chrome.
I changed the first line from
to
and it now works on every browser no matter how the page is loaded.
Thanks for the tip. Glad it helps
Adrian
I did change the below and the script now runs every time:
to
$(document).ready(function() {
Hopefully a longer term solution can be found to this issue.
It also only seems to be an issue with newer versions of the portal. It seems to not exist pre v8 based on our customer feedback.
stopped working for me.