This commit is contained in:
yumoqing 2022-02-10 14:23:53 +08:00
parent ca1b329a49
commit b07b37b22b
2 changed files with 1092 additions and 1025 deletions

File diff suppressed because it is too large Load Diff

View File

@ -383,8 +383,12 @@ class DataGrid(VBox):
def unselect_row(self, row_id):
if self.freeze_part:
row = self.freeze_part.body.get_row_by_id(row_id)
if not row:
return
row.unselected()
row = self.normal_part.body.get_row_by_id(row_id)
if not row:
return
row.unselected()
def select_row(self, row_id):