If a row is explicitly disabled, it's safe to just skip it

This commit is contained in:
Nathan Gray 2012-03-30 16:25:30 +00:00
parent 95fb2dfaaa
commit f53fa79512

View File

@ -360,8 +360,17 @@ var et2_grid = et2_DOMWidget.extend([et2_IDetachedDOM], {
//this.getArrayMgr(name).perspectiveData.row = y;
}
// If row disabled, just skip it
var disabled = false;
if(node.getAttribute("disabled") == "1")
{
disabled = true;
}
if(!disabled)
{
et2_filteredNodeIterator(node, readRowNode, this);
}
}
else
{
readRowNode.call(this, node, nodeName);