A little bit of dirty play is okay with me, so long as there's no intent to injure. However, *if* KG was really intentionally sliding his foot under a jump shooter, then yes, that's classless, and would make me lose respect for KG, too.
However, I'm not convinced he did it intentionally. If he did, Doc needs to take him aside and tell him to knock it off.