[CLOSED] Gridpanel Cell values right padding

  1. #1

    [CLOSED] Gridpanel Cell values right padding

    Hi,

    I am trying to set the value of my grid panel cell data right-padding to ensure that my values line up with the cell header text when my column is righ aligned.. I am using the CSS below but it does not work.

    .x-grid-cell .x-grid-cell-inner{
        padding-right: 20px!important;
    }
    Click image for larger version. 

Name:	valuesnotaligned.png 
Views:	73 
Size:	4.7 KB 
ID:	5502


    In image above, I want to values to be right-aligned with the letter "t" in count. So the number should be exactly on the header text "Count". Any ideas, please offer some assistance.
    Last edited by Baidaly; Feb 01, 2013 at 2:39 AM. Reason: [CLOSED]
  2. #2
    Hi @RCM,

    Your CSS rule appears to be working in my test case.

    Sp, please provide your test case.
  3. #3
    hi,

    please mark as solved. was using incorrect css class name.

Similar Threads

  1. GridPanel Get row cell values
    By naina in forum 1.x Help
    Replies: 7
    Last Post: Mar 10, 2012, 4:14 AM
  2. [CLOSED] ListView: Remove Padding around the cell
    By nhg_itd in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jan 18, 2012, 7:58 AM
  3. [CLOSED] [1.0] GridPanel Cell Padding?
    By Timothy in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jul 05, 2011, 6:27 PM
  4. [CLOSED] [1] Grid Cell padding is trimmed and do not want it to be
    By bsnezw in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: May 03, 2011, 8:35 PM
  5. GridPanel getting Cell Values in RowSelection
    By EzaBlade in forum 1.x Help
    Replies: 5
    Last Post: Feb 03, 2009, 7:28 AM

Posting Permissions