Skip to content
GRID Editor

ShiftPart

type ShiftPart =
| {
kind: "shift";
range: string;
sheet: string;
shift: "down" | "right";
workbook: string;
}
| {
kind: "shift";
range: string;
sheet: string;
shift: "up" | "left";
workbook: string;
};

Inserts or deletes a band of whole rows ("2:3"), whole columns ("B:C") or cells, moving what lies beyond it. down and right insert the band; up and left delete it.