

def field_to_colmodel(self, field, field_name):
    colmodel = {
        'name': field_name,
        'index': field.name,
        'label': field.verbose_name,
        'editable': True,
    }
    return colmodel

dataset/ETHPy150Open gerry/django-jqgrid/jqgrid.py JqGrid.field_to_colmodel/original