Fixed dynamic display regression.

This commit is contained in:
Heng Sin Low 2008-12-06 23:16:29 +00:00
parent e72867266c
commit a3b97de98f
1 changed files with 11 additions and 1 deletions

View File

@ -475,7 +475,17 @@ DataStatusListener, IADTabpanel
// Selective
if (col > 0)
{
GridField changedField = gridTab.getField(col);
String columnName = changedField.getColumnName();
ArrayList<?> dependants = gridTab.getDependantFields(columnName);
logger.config("(" + gridTab.toString() + ") "
+ columnName + " - Dependents=" + dependants.size());
if (dependants.size() == 0 && changedField.getCallout().length() > 0)
{
return;
}
}
boolean noData = gridTab.getRowCount() == 0;
logger.config(gridTab.toString() + " - Rows=" + gridTab.getRowCount());