[CLOSED] Change grid cell color on fly

  1. #1

    [CLOSED] Change grid cell color on fly

    I looked at this post:

    http://forums.ext.net/showthread.php...rid-cell-color

    My case is different

    I have to change the color of the second cell in the selected row after the click of a button



    I have to retrieve the meta of selected row???
  2. #2
    I solved it. Update via the store

    var record = GridPanel1.getSelectionModel().getSelected();
    var rowIndex = GridPanel1.getStore().indexOf(record);
    record.set('HtmlColor', "#" ColorPalette2.value);

    works perfectly

Similar Threads

  1. [CLOSED] Change cell color for grid panel using editablegrid plugin
    By AnulekhaK in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Feb 10, 2014, 4:43 AM
  2. Replies: 1
    Last Post: Jul 10, 2012, 11:16 AM
  3. How to Background color to the cell in Tree grid
    By rajputamit in forum 1.x Help
    Replies: 2
    Last Post: May 06, 2012, 4:16 PM
  4. [CLOSED] Change grid cell color
    By BGeorge in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Dec 12, 2011, 5:05 AM
  5. [CLOSED] Change grid header color
    By speedstepmem3 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Aug 26, 2011, 9:53 AM

Posting Permissions