[CLOSED] Unable to change grid cell attributes

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [CLOSED] Unable to change grid cell attributes

    Hi

    The following code selects the cell in a grid via data returned from the Controller - I've checked, it does point to the required cell:

    var cell = masterAccountRelatedAddressesGridPanel.getView().getCell(index, errors[i].Column);
    The following code is an attempt to change some of the Cell attributes, though ultimately we want to set the cell to 'invalid':

    cell.style.setAttribute("borderBottomColor", "red");
    cell.style.setAttribute("borderTopColor", "red");
    cell.style.setAttribute("borderRightColor", "red");
    cell.style.setAttribute("borderLeftColor", "red");
    masterAccountRelatedAddressesGridPanel.getView().refreshRow(index);
    It has no apparent effect. How do we change the attributes of a Grid Cell and/or change it to 'Invalid'?

    Thanks
    Last edited by Daniil; May 31, 2011 at 10:46 AM. Reason: [CLOSED]

Similar Threads

  1. [CLOSED] Change grid cell color
    By BGeorge in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Dec 12, 2011, 5:05 AM
  2. [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
  3. [CLOSED] Change the value of a grid cell
    By tms in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jun 15, 2010, 7:43 AM
  4. Replies: 2
    Last Post: Jun 14, 2010, 1:34 PM
  5. Change grid cell value
    By gpcontreras in forum 1.x Help
    Replies: 1
    Last Post: Feb 02, 2010, 5:24 PM

Posting Permissions