loadGrid:  fix for %datasourcename% macro

Thanks for the inspiration Tommy...

[1720]