An X-ray device for imaging an object, comprising: an X-ray emitter arrangement, an X-ray detector arrangement, wherein the X-ray emitter arrangement is adapted to emit an X-ray beam through the object onto the X-ray detector arrangement, wherein the X-ray beam is at least partial spatial coherent, wherein the X-ray beam is fan-shaped, wherein the X-ray detector arrangement comprises a phase grating and an absorber grating, wherein the X-ray detector arrangement comprises a detector for detecting X-rays, wherein the X-ray detector is an area detector, wherein the X-ray device is adapted to generate image data from the detected X-rays and to extract phase information from the X-ray image data, the phase information relating to a phase shift of X-rays caused by the object, wherein the object has a region of interest which is larger than a detection area of the X-ray detector and the X-ray device is adapted to generate image data of the region of interest by moving the object and the X-ray detector arrangement relative to each other, characterised in that the X-ray device is adapted to image the region of interest slice by slice and to execute a phase scanning cycle to acquire image data for each slice, and further the X-ray device is adapted to move one grating of the phase grating and the absorber grating such that at least one grating remains fixed with respect to the object during a phase scanning cycle, when the object and the X-ray detector arrangement move continuously relative to each other and wherein the X-ray device is further adapted to move the grating, which remained fixed during the phase scanning cycle by a slice width after the completion of each phase scanning cycle. an X-ray emitter arrangement, an X-ray detector arrangement, wherein the X-ray emitter arrangement is adapted to emit an X-ray beam through the object onto the X-ray detector arrangement, wherein the X-ray beam is at least partial spatial coherent, wherein the X-ray beam is fan-shaped, wherein the X-ray detector arrangement comprises a phase grating and an absorber grating, wherein the X-ray detector arrangement comprises a detector for detecting X-rays, wherein the X-ray detector is an area detector, wherein the X-ray device is adapted to generate image data from the detected X-rays and to extract phase information from the X-ray image data, the phase information relating to a phase shift of X-rays caused by the object, wherein the object has a region of interest which is larger than a detection area of the X-ray detector and the X-ray device is adapted to generate image data of the region of interest by moving the object and the X-ray detector arrangement relative to each other, characterised in that the X-ray device is adapted to image the region of interest slice by slice and to execute a phase scanning cycle to acquire image data for each slice, and further the X-ray device is adapted to move one grating of the phase grating and the absorber grating such that at least one grating remains fixed with respect to the object during a phase scanning cycle, when the object and the X-ray detector arrangement move continuously relative to each other and wherein the X-ray device is further adapted to move the grating, which remained fixed during the phase scanning cycle by a slice width after the completion of each phase scanning cycle.