add auto refresh to enable full functionality, add two super ugly dgrid workarounds