Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: customize row header #2457

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from

Conversation

KrutchenkoEA
Copy link

related #2333 but for row header

Hello, I recently found your library and wanted to use it in my angular project, but the customization of canvas colors was not enough. I found a partial solution in #2333, and did the same for the row header

univerAPI.customizeRowHeader({ headerStyle:{backgroundColor: 'pink', fontSize: 9}, rowsCfg: ['ASC', 'MokaII', undefined, {text: 'Size', textAlign: 'left'}, {text: 'MUJI', fontSize: 15, textAlign: 'right'}, {text: 'SRI-RESOLVE', fontSize: 10, textAlign: 'left', fontColor: 'blue', backgroundColor: 'wheat'}, null, null, 'ss', {fontSize: 29, fontColor:'red', text: 'hash'}]})

close #xxx

Pull Request Checklist

  • Related tickets or issues have been linked in the PR description (or missing issue).
  • Naming convention is followed (do please check it especially when you created new plugins, commands and resources).
  • Unit tests have been added for the changes (if applicable).
  • Breaking changes have been documented (or no breaking changes introduced in this PR).

Copy link

github-actions bot commented Jun 19, 2024

View Deployment

📑 Examples 📚 Storybook
🔗 Preview link 🔗 Preview link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants