i saw your previous issues and tried the below code for enabling focusOnNode in onclick function but is shows error shown in second screenshot

this is the error. The same error comes even if I pass the first argument 'd' instead of 'node'

can you see to it and give possible solution for it
i saw your previous issues and tried the below code for enabling focusOnNode in onclick function but is shows error shown in second screenshot


this is the error. The same error comes even if I pass the first argument 'd' instead of 'node'
can you see to it and give possible solution for it