Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User
    Join Date
    Apr 2011
    Posts
    28
    Vote Rating
    0
    altmayer is on a distinguished road

      0  

    Default Alternate colors with RowEditor

    Alternate colors with RowEditor


    Hello,

    recently I tried to combine alternating row colors in a grid with a row editor and stumbled across a problem. I used
    Code:
    grid.setStripeRows( true );
    to turn the feature on and with
    Code:
    .x-grid3-row-alt {
        background-color: #F9F9F9;
    }
    in my css I could set the color. I even used this
    Code:
    .x-grid3-row-alt.x-grid3-row-selected {
        background-color: #F9F9F9 !important;
    }
    to prevent selected/highlighted rows to surpress the alternate color.

    But when I want to edit a row, there seems to be a wrapper element to wrap all input elements in the edited row. I can adjust the style of the element via
    Code:
    .x-row-editor-body {
        background-color: {color};
    }
    Setting the background-color to white leads to an overlap of color in each row with an alternate color - which does not look nice.
    Setting the background-color to transparent leads to a "bleed-through" of the underlying input elements - which is even worse. It looks worst when I use checkboxes, which are always not at the same position as the underlying checkbox elements.
    Since the edited row is not attached with the alternate color class (".x-grid3-row-alt") of the corresponding row under it, there is no chance to fix this via CSS.

    Any suggestions to solve this? Thanx in advance.
    Last edited by altmayer; 18 Apr 2011 at 5:47 AM. Reason: not finished

Similar Threads

  1. ListView Alternate row colors
    By ValterBorges in forum Ext 3.x: Help & Discussion
    Replies: 7
    Last Post: 26 Aug 2010, 12:40 PM
  2. Alternate View Row Colors in beta3?
    By jas773 in forum Ext.nd for Notes/Domino
    Replies: 3
    Last Post: 15 Jun 2010, 6:49 PM
  3. Lightbox Alternate
    By bluesapphire in forum Community Discussion
    Replies: 1
    Last Post: 16 Aug 2009, 4:29 AM
  4. How to display Alternate rows with different colors in a grid
    By emmadi in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 2 Nov 2008, 7:58 PM
  5. Set alternate row colours
    By valc in forum Ext 1.x: Help & Discussion
    Replies: 16
    Last Post: 5 Jan 2007, 11:29 AM