Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7532717
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T05:32:06+00:00 2026-05-30T05:32:06+00:00

I have a column in slickgrid where all the cells need to have some

  • 0

I have a column in slickgrid where all the cells need to have some padding applied to the right side of the cell. I use the cssClass property when initializing the columns for the grid, but this applies only to the non-header cells of the column. How do I specify a css class to use for the header as well so I can apply the right padding to it as well? Without that padding, the header cell becomes slightly out of line with the rest of the cells below it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T05:32:08+00:00Added an answer on May 30, 2026 at 5:32 am

    If these styles apply to all cells, you can style them using the built-in .slick-cell and .slick-headerrow-column CSS classes. One thing to watch out for, however, is that your styles may not override SlickGrid’s defaults if they have lower rule specificity. If that’s an issue in your app, either increase specificity of your rules or use !important – .slick-cell { padding-right:10px !important; }.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to disable slickgrid horizontal scrollbar. I have only one column and have
I am setting up SlickGrid and need to have a column with an autoComplete
Is it possible to have a hidden column in slickgrid? By hidden column I
I have column with varchar values like 022008 that I need to convert into
I have just started to use slickgrid (++ to the author btw) - running
I have am trying to implement something along the lines of Slickgrid, column with
I have column stsmm which is a month integer. I need it in the
I need a select from table which does not have column that tells when
I have built an slickgrid with two checkbox columns. I use a slick formatter
I am using version 2.0a1 of Slickgrid, and I need to get some columns

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.