jqxGrid scrollbars overlapping

The scroll bars from the jqxGrid keep appearing on top of buttons (from a modal form) even if the button and modal form z-index is set to 9999, as shown here

overlapjqxgrid

Is there a way to stop this?

Thanks