Ejemplo n.º 1
0
 def __init__(self, *args, **kwargs):
     ExtWindow.__init__(self, *args, **kwargs)
     self.icon_cls = 'icon-application-view-list'
     self.modal = False
     self.layout = 'border'
     self.width, self.height = 800, 600
     self.maximized = True
     self.maximizable = True
     self.minimizable = True
     self.grid = self._create_grid()
     self.items.append(self.grid)
     self.init_component(*args, **kwargs)
Ejemplo n.º 2
0
    def __init__(self, *args, **kwargs):
        ExtWindow.__init__(self, *args, **kwargs)

        self.icon_cls = 'icon-application-view-list'
        self.layout = 'border'
        self.width, self.height = 800, 600
        self.grid = self._create_grid()
        self.items.append(self.grid)
        self.init_component(*args, **kwargs)

        self.on_select_column_display = 'sname'
        # self.on_select_column_id = 'employee_id'
        # self.select_record = True

        TemplateListRenderMixin.__init__(self, *args, **kwargs)
        SelectListMixin.__init__(self)

        self.render_globals = TemplateListRenderMixin.render_globals(self)