You are editing a global slider. There is no grid in this context, as the value of a global slider can be used by all other sliders.
That's why all grid.xyz functions cannot be used for a global slider.