May 23, 2011, 10:33 AM
[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:
Thanks
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]