Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Dynamics 365 UCI Add checkbox on editable grid

(0) ShareShare
ReportReport
Posted on by 28,959 Super User 2024 Season 1

Hello,

We have a business requirement where customer want to have checkbox which will be displayed as checked when they select record on editable grid. And by default it should be unchecked like we have it in web client.

I have created 2 web resource image one with check and other with uncheck image. I am displaying uncheck image besided views column as shown below. I have acheived this by adding JS on view column which is explained here. https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/customize/display-custom-icons-instead

2553.Capture.PNG


Need help to switch this image onRecordSelect from editable grid to check image. I know we can have JS code to be executed on OnrecordSelect from editable but not sure how to switch the image.

  • Suggested answer
    Henry J. Profile Picture
    Henry J. 5,237 on at
    RE: Dynamics 365 UCI Add checkbox on editable grid

    Hello,

    I'm not sure I understand the requirement here. Editable Grids already offer some sort of checkbox behavior when a line is selected.

    The selected lines also get highlighted in blue:

    pastedimage1579177716086v1.png

    My advice would be stick to out-of-the-box (and maybe invest on training / change management if this seems to be an issue for users) instead of doing custom developments to achieve the unchecked / checked box requirement.

    The docs article you shared (https://docs.microsoft.com/en-us/powerapps/maker/common-data-service/display-custom-icons-instead) seems to be more about displaying custom icons that change depending on record data, rather than fact that the row is selected or not. Furthermore, as documented, the OnRecordSelect event doesn't work when multiple lines are selected.

    Henry 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,735 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,466 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans