Results 1 to 2 of 2

Thread: A+ and A- i.e., Font Increase or Decrease functionality provided on ExtJS DataGrid

  1. #1
    Sencha User
    Join Date
    Sep 2010
    Posts
    28
    Vote Rating
    0
      0  

    Default A+ and A- i.e., Font Increase or Decrease functionality provided on ExtJS DataGrid

    A-Increase_A-Decrease.jpg

    Can we have the A+ and A- functionality provided on ExtJS EditorGridPanel, i.e., we can increase or decrease the content coming inside the EditorGridPanel ?
    For Example:
    http://timesofindia.indiatimes.com/i...ow/6535947.cms

    In this article there is - A for Increasing the font another - A is for Decreasing the font. They are adjacent to each other on top of the article.

    I hope I am able to explain.

    Please help. Its urgent.

  2. #2
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,890
    Vote Rating
    89
      0  

    Default

    Create some new class rules

    Code:
    .plus1 .x-grid3-hd-row td, .plus1 .x-grid3-row td {
        font-size: 14px;
    }
    .plus2 .x-grid3-hd-row td, .plus2 .x-grid3-row td {
        font-size: 18px;
    }
    .plus3 .x-grid3-hd-row td, .plus3 .x-grid3-row td {
        font-size: 22px;
    }
    And then add/remove the appropriate class names.

Similar Threads

  1. how to increase the width of upload field using Extjs
    By vms.saran in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 9 Aug 2010, 11:09 PM
  2. How to increase the height of the datagrid row
    By nash99 in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 20 Aug 2009, 12:21 AM
  3. How to increase font of text in in tree
    By mama in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 30 Sep 2008, 7:24 AM
  4. how to increase grid row height and font size
    By fangzhouxing in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 11 Jul 2007, 5:44 AM
  5. Extending ExtJS functionality...
    By HartlepoolLad in forum Ext 1.x: Help & Discussion
    Replies: 5
    Last Post: 31 May 2007, 9:11 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •