'Iterator to group data list items into rows
@param iterable: the items iterable
@param length: the number of items per row'

@staticmethod
def groups(iterable, length):

    iterable = iter(iterable)
    group = list(islice(iterable, length))
    while group:
        (yield group)
        group = list(islice(iterable, length))
    raise StopIteration
