def _on_context_move_up(self):

        self.model.moveRow(self.header_row, self.header_row - 1)
Handle 'move up' being selected from the header context menu.
dataset/ETHPy150Open enthought/traitsui/traitsui/qt4/table_editor.py/TableEditor._on_context_move_up