TreeGrid connector with custom IDs

I have a treegrid with custom IDs and custom parent IDs. I could not use the KeyGridConnector and the TreeGridConnector together…

I could not find any possible solution to combining the treegrid connector with the keygrid connector, so I made my own KeyTreeGridConnector.

Is this the best way or is there another (better) way to do this?
keytreegrid_connector.zip (726 Bytes)

Is this the best way or is there another (better) way to do this?
There is no other way to do this.

Ok thanx