automatically generate layout grid from data array