web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

The record I previously selected on the grid is stuck.

(0) ShareShare
ReportReport
Posted on by 80

Hi everyone,

When selecting records in a custom form, the record I selected remains selected and the selected record is sent even though I want to send the above data with the caller. The records selected in the grid are stuck and I could not understand. I'll be happy if you can help me.

4743.pastedimage1672132102652v1.png

I have the same question (0)
  • ergun sahin Profile Picture
    8,822 Moderator on at
    RE: The record I previously selected on the grid is stuck.

    I remember there was a different case whatever you set getFirst(true) or getFirst(false) but I m not using cursor method for a long time so I m not sure

    Use Multihelper

  • dynamicscon Profile Picture
    80 on at
    RE: The record I previously selected on the grid is stuck.

    yes how can i solve this?

  • GirishS Profile Picture
    27,825 Moderator on at
    RE: The record I previously selected on the grid is stuck.

    I guess the grid is returning correct values only. Because for example refer to below scenario.

    1.  let's say you have selected 2 lines in the grid.
    2. Now you have unchecked the 2nd line.
    3. Now the cursor will be in the 2nd line only - Cursor method will return only 2nd line only until you unmark the 1st line. This how it will work.

    Thanks,

    Girish S.

  • dynamicscon Profile Picture
    80 on at
    RE: The record I previously selected on the grid is stuck.

    No, I used this: ARCCustNoteDetail_ds.cursor();

  • GirishS Profile Picture
    27,825 Moderator on at
    RE: The record I previously selected on the grid is stuck.

    How are you getting selected records?

    Are you using MultiSelectionHelper class to get the selected records?

    Thanks,

    Girish S.

  • dynamicscon Profile Picture
    80 on at
    RE: The record I previously selected on the grid is stuck.

    Of course, you can avoid this problem manually :D but I'm questioning why.

  • GirishS Profile Picture
    27,825 Moderator on at
    RE: The record I previously selected on the grid is stuck.

    So, you are selecting 2 records - Last selected record you have unchecked it but it still showing as selected.

    If that is the case uncheck the 1st record and select it again.

    Thanks,

    Girish S.

  • dynamicscon Profile Picture
    80 on at
    RE: The record I previously selected on the grid is stuck.

    Hi Girish S,

    It's actually not that hard to grasp what I'm talking about. First I select any record, secondly I select another record. After selecting 2 records, I uncheck to cancel one. But the line I unchecked remains selected even though it is not selected.

  • GirishS Profile Picture
    27,825 Moderator on at
    RE: The record I previously selected on the grid is stuck.

    Hi Muhammed Hakan Celik

    You can unselect the selected lines by just clicking the selected lines. Or you can select all the lines and unselect it.

    If above suggestion is not related to your question, then elaborate more on your issue.

    Thanks,

    Girish S.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,352

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 810 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 616 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans