Results 1 to 3 of 3

Thread: Influencing cell / td 'style' in a grid

  1. #1
    Sencha Premium Member
    Join Date
    May 2013
    Posts
    21
    Vote Rating
    0
      0  

    Default Influencing cell / td 'style' in a grid

    Hi,

    I'm trying to do background colors for a grid cell and, despite a number of similar threads, am getting caught on highlighting for individual cell selection (see CellSelectionModel). Basically a user can't tell when a cell with a custom background is selected.

    I'd prefer to use the 'style' attribute (and not 'class') to color my cells but I can't see any other way of allowing cell selection style to override a cell background color. My question is....

    How do I influence the "td[style]" attribute in a grid? I know how to get at the "td div[style]" using ColumnConfig.setColumnTextStyle(). See screenshot from http://www.sencha.com/examples/explo...lace:basicgrid.

    arrows.jpg

    Thanks in advance,
    Pete

    PS: In a perfect world the cell-selected style would not be obfuscated (like 'x-grid-cell-first')...
    .GBYI5OFCCYC-com-sencha-gxt-widget-core-client-grid-GridView-GridStateStyles-cellSelected

  2. #2
    Sencha User
    Join Date
    Oct 2017
    Posts
    2
    Vote Rating
    0
      0  

    Default

    great support .. really.....

  3. #3
    Sencha User
    Join Date
    Oct 2017
    Posts
    2
    Vote Rating
    0
      0  

    Default

    #Edit

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
  •