Results 1 to 2 of 2

Thread: GridPanel Selected cell CSS ?

  1. #1
    Sencha User
    Join Date
    Mar 2008
    Posts
    79

    Default GridPanel Selected cell CSS ?

    Hello there,

    I am using Extjs 4.2 version. I wanted to know that how can we show the border of the selected grid panel cell ? I have multiple displays so i need common change.

    I tried below css code but its visible on hover. I wanted that the selected cell remain select with border until another one not selected.


    Code:
    .x-grid-cell:hover
    {
        border: solid 2px red !important;
    }


    For reference please check the screen below:

    CellSelection.png



    with regards
    vik

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    Can you utilize the selectedItemCls config?
    http://docs.sencha.com/extjs/4.2.1/#...electedItemCls

Similar Threads

  1. Replies: 8
    Last Post: 12 Nov 2012, 9:57 AM
  2. Clearing the selected cell or selected model in Grid
    By webfriend13 in forum Ext: Q&A
    Replies: 2
    Last Post: 16 Jul 2012, 10:49 PM
  3. How to get data of selected cell in gridpanel
    By sathishs in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 11 Feb 2008, 2:47 AM

Tags for this Thread

Posting Permissions

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