how to change the stylesheet for the selected row in the GridPanel

  1. #1

    how to change the stylesheet for the selected row in the GridPanel

    Hi,
    Can you anyone please show me how to change the hightlighted row's background color in the GridPanel control? Below is my code:


    Thanks in advance for any help.
    <ext:GridPanel ID="GridPanel1" runat="server" Title="Runs" Margins="0 0 0 0" Icon="UserSuit" 
                    StripeRows="true" TrackMouseOver="true" Region="Center" Frame="false">
    <ColumnModel ID="ColumnModel1" runat="server">
                        <Columns>
    my columns etc...
                                                </Columns>
                    </ColumnModel>
    
                   <SelectionModel>
                        <ext:RowSelectionModel ID="RowSelectionModel1" runat="server" SingleSelect="true" />
                    </SelectionModel>
    
    </ext:GridPanel>
    Last edited by Daniil; Mar 26, 2012 at 9:10 PM. Reason: Please use [CODE] tags
  2. #2
    Hi,

    Please investigate the following example.
    https://examples2.ext.net/#/GridPane...ous/Custom_UI/

Similar Threads

  1. Replies: 1
    Last Post: Jun 29, 2012, 11:51 AM
  2. Replies: 2
    Last Post: Jun 06, 2012, 8:50 PM
  3. Replies: 0
    Last Post: May 21, 2012, 2:02 AM
  4. Version 2 stylesheet
    By kagster in forum 2.x Help
    Replies: 2
    Last Post: Mar 19, 2012, 1:13 AM
  5. Replies: 2
    Last Post: Dec 25, 2009, 2:56 PM

Posting Permissions