How to PAN in Midi editor ?

Of course midi pan cc10 editing works. The OP makes no mention of Sampler Tracks. I take it from subsequent posts that this thread is supposed to be about Sampler Tracks, not cc10 editing.

AFAIK, this is the situation with Sampler Tracks and panning:
Note expression pan works on Sampler Tracks, but Sampler Tracks do not respond to CC10 for panning. While many instruments do respond to CC10, it’s not unusual for one to not respond to cc10. In the case of the Sampler Track, I don’t know if that’s intentional or not. You can of course automate the audio panning if note expression pan doesn’t do what you want.