[CLOSED] Change cell color for grid panel using editablegrid plugin

  1. #1

    [CLOSED] Change cell color for grid panel using editablegrid plugin

    Hi,

    We want to change the grid cell color based on some validations. We are using editablegrid plugin for the grid panel. Please let me know how to do this.

    Thanks
    Anulekha
    Last edited by Daniil; Dec 15, 2011 at 2:16 PM. Reason: [CLOSED]
  2. #2
    Hi,

    In a case with EditableGrid plugin, you should deal directly with a Editor field applying CSS using the addClass or applyStyles method.

    See also
    http://docs.sencha.com/ext-js/3-4/#!...od-applyStyles
    http://docs.sencha.com/ext-js/3-4/#!...ethod-addClass
  3. #3

    Highlight cell being edited

    I have an CellEditor plugin for a grid.
    When the user clicks the cell to edit, I want to change the background to red.
    When the App.direct method returns after saving the change, I want to highlight green, then fade back to white background.

    Can this be done? Seem to be having trouble getting to the class/style attributes of that cell..
  4. #4
    Quote Originally Posted by rthiney View Post
    I have an CellEditor plugin for a grid.
    When the user clicks the cell to edit, I want to change the background to red.
    When the App.direct method returns after saving the change, I want to highlight green, then fade back to white background.

    Can this be done? Seem to be having trouble getting to the class/style attributes of that cell..
    This question will be answered here:
    http://forums.ext.net/showthread.php?28029

Similar Threads

  1. Replies: 1
    Last Post: Jul 10, 2012, 11:16 AM
  2. Replies: 5
    Last Post: Dec 26, 2011, 5:39 AM
  3. [CLOSED] Change grid cell color
    By BGeorge in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Dec 12, 2011, 5:05 AM
  4. [CLOSED] Change grid cell color on fly
    By 78fede78 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Dec 03, 2010, 1:27 PM
  5. change entire row color in ext grid panel
    By ankit in forum 1.x Help
    Replies: 3
    Last Post: Jun 01, 2010, 3:30 AM

Posting Permissions