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

Merged
merged 7 commits into from
Jun 22, 2024
Merged

Conversation

KrutchenkoEA
Copy link
Contributor

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

@lumixraku lumixraku merged commit f5e520f into dream-num:dev Jun 22, 2024
2 checks passed
@KrutchenkoEA KrutchenkoEA deleted the customize-row-header branch November 25, 2024 14:35
@KrutchenkoEA KrutchenkoEA restored the customize-row-header branch November 25, 2024 14:36
@KrutchenkoEA KrutchenkoEA deleted the customize-row-header branch November 25, 2024 14:53
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.

2 participants