0

I am using a angular-slickgrid = 2.30.2 ,Angular 10, i am using styles.css where i am loading the slickgrid theme through bootstrap .sass file. i have created a shared slickgrid component and using it in parent components wherever required.

  1. i want to change the slick grid header color based on a condition in my parent component. For e.g if my variable value is true then show slickgrid header blue else red, how can i do that?
  1. i want to add bottom border for every third row in grid for only one screen/component which is using slick grid, how can I implement that.

i am new to slickgrid , please guide.

1
  • Please provide enough code so others can better understand or reproduce the problem. Commented Jul 29, 2022 at 13:10

1 Answer 1

0

Please note that I'm the author of Angular-Slickgrid, there are already plenty of SO questions and answers on how to style SlickGrid, take for example these:

and/or simply use the Column properties cssClass or headerCssClass from the Column interface. I added TypeScript types for everything in latest version which should give you enough indication of what you can try.

Also please remember that Angular-Slickgrid is a wrapper of SlickGrid, searching for SlickGrid will always provide you more result to your question searches

Lastly you're on an older version (2.x) that I no longer support, you should think about migrating eventually to get access to newer features and smaller builds, see Migration Guide 3.x and Migration Guide 4.x

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.