Disable cell while doing a transform response

I need to disable individual cells in a treegrid. I am doing a transform response and can easily disable an entire row but need a way to disable single cells during the transform response.

tranformresponse calls this when creating a leaf row…

createDocRow: function(row, parentId) {
var docRow = { };
var iconData = IL.MimeTypes.getGridInfo(row.mimeType, “GRID”);
docRow.mimeIcon = iconData.iconUrl;
if (row.level != 1)
{
docRow.parentId = this.foldersAtLevels[row.level - 1].id;
}
docRow.index = row.index;
docRow.title = row.title;
docRow.version = row.version;
docRow.access = row.access;
//If I did this it works fine but I don’t want the whole row.
//docRow..enabled = false;
//want to do if row.printed = 0 then disable cell.
docRow.printed = row.printed;
docRow.isFolder = false;
return docRow;
}

In addition if I use getCellStyle in the treegrid it works but because it is not disabled for real the mouseover changes the style. Is there any way to disable a single cell either in transformresponse or in the treegrid.

Thanks,
MJB

What exact behaviors do you want to disable: selection, rollover, editing?

You can use getBaseStyle() to provide a different style series for an individual cell, that will not show any change in appearance for rollover or selection for that one cell. But in this case clicking on the cell will still select the row.

getBaseStyle worked…I had a typo so it was not returning the original basestyle when the condition was false.

Thanks,
MJB