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 7971271
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T07:35:58+00:00 2026-06-04T07:35:58+00:00

I use Ext.grid.Panel in my project, but I think the default row height is

  • 0

I use Ext.grid.Panel in my project, but I think the default row height is too large and I can’t modify the row height, so the whole grid makes me feel uncomfortable.

However, I find the panel-grid example in Extjs-4 doc is quite good. In it the row height is adjusted to fit the words height.Thus the whole grid is very compact.

So I wonder how can I set the grid row height?

  • 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-06-04T07:35:59+00:00Added an answer on June 4, 2026 at 7:35 am

    One way you could change the row height is by using css. Each row uses padding along with the content for the height so if you were change the padding in this class it would make the row higher/lower:

    .x-grid-cell-inner {
        overflow: hidden;
        padding: 3px 6px;
        white-space: nowrap;
     }
    

    Also, you can take a look here:

    http://docs.sencha.com/ext-js/4-0/#!/api/Ext.view.Table-method-getRowClass

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

Sidebar

Related Questions

To change whole row background color we can use getRowClass, but how to do
I use Ext.grid.Panel with proxy store and pagingtoolbar . How can I set page
Given a string such as: new/path - path/path/03 - filename.ext, how can I use
I'd like to use ExtJS4 for my next project. However, I'm new to Ext
I found several examples how to use Ext.ux.grid.GridSummary() in GridPanel, main problem here is
this seems a stupid question, but i can't align column content in a Ext.Net
I am a newbie to Ext JS, but I want to use Ext JS
I use Extjs 4. I have grid within row expander with data from the
I want to use ext-gwt in one of my projects but some components of
I have an Ext.grid.Panel and i want to validate user input: there is a

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.