Skip to content

Commit

Permalink
feat: Added check-alll-cell class
Browse files Browse the repository at this point in the history
  • Loading branch information
Mayur committed Jan 9, 2025
1 parent bc7c901 commit 090a034
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/widget/src/components/Common/Table/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ export const Table = forwardRef<HotTableClass, TableProps>(
if (!selectEnabled && i < 0) {
TH.innerHTML = '#';
} else if (selectEnabled && i === 0 && selectEnabled) {
TH.classList.add('check-all-cell');
TH.innerHTML = `
<div class="checkbox">
<input type="checkbox" ${allChecked ? 'checked' : ''} class="checkbox__control">
Expand Down

0 comments on commit 090a034

Please sign in to comment.