Polyelectrolyte multilayers generated in a microfluidic device with pH gradients direct adhesion and movement of cells.