Update example to use syncGridSelection callback.