Skip to content

Commit

Permalink
Merge pull request #329 from GoldenChrysus/v2
Browse files Browse the repository at this point in the history
fix(cell): cells editable when enableEditing on table is undefined
  • Loading branch information
alessandrojcm authored May 10, 2024
2 parents 9a9a53e + 82d8875 commit 6785d24
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ export const MRT_TableBodyCell = <TData extends MRT_RowData>({

const isEditable =
!cell.getIsPlaceholder() &&
(parseFromValuesOrFunc(enableEditing, row) &&
parseFromValuesOrFunc(columnDef.enableEditing, row)) !== false;
parseFromValuesOrFunc(enableEditing, row) &&
parseFromValuesOrFunc(columnDef.enableEditing, row) !== false;

const isEditing =
isEditable &&
Expand Down

0 comments on commit 6785d24

Please sign in to comment.