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
Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi