This code should give you an idea how to do it for a data table.
dt = New Table( "Test Banding", Add Rows( 4 ),
New Column( "Column 1", Character, "Nominal",
Set Values( {"a", "b", "c", "d", "e"} ) ),
New Column( "Column 2", Numeric, "Continuous", Format( "Best", 12 ),
Set Values( [3, 2, 1, 0, -1] ) ),
New Column( "Column 3", Numeric, "Continuous", Format( "Best", 12 ),
Set Values( [4, 5, 6, 7, 8] ) )
);
// Create a list of every other row number
gray_rows = {};
for (i = 1, i <= nrows(dt), i+=2,
insertinto(gray_rows, i);
);
// Set every other row to gray
for (i = 1, i <= ncols(dt), i++,
column(dt, i) << Color Cells( {-14803425, gray_rows} );
);