The speckle-based scanning method for x-ray phase-contrast imaging is implemented with a liquid-metal-jet source. Using the two-dimensional scanning technique, the phase shift introduced by the object is retrieved in both transverse orientations, and the limitations on spatial resolution inherent to the speckle-tracking technique are avoided. This method opens up possibilities of new high-resolution multimodal applications for lab-based phase-contrast x-ray imaging.