getRowFor does not seem to work either. I will be updating the version soon but for the time being, I want to implement this functionality. Updating the version would also require a lot of testing as there are other areas where the bryntum grid library is being used and I don't want them to break. For the time being I want to temporarily implement the functionality with a suitable alternative and then make changes later when the the library is updated.
Can you provide an example of how to use getRowFor inside the onItem event function?
My current version of the bryntum grid is 5.2.7
Checking the API diff tool, I checked that getRecordFromElement is available on 5.2.7, as it was added earlier. How are you trying to use that function?
Not sure TBH. I checked the source param in the beforeShowMenu param in my environment and the owner object inside it did not have the getRecordFromElement in there.
Also important thing to note is that in beforeShowMenu function, the source.owner is a Grid object so it has the getRecordFromElement and getRowFor functions inside it. However for onItem event, the source.owner is a Menu item and does not contain any of these functions so we cannot use that. This was tested on the latest code as well in the bryntum grid demos