* changedcolumn wrongly initialise to zero, i.e if no column is change the datastatusevent will always report that ad_client_id ( column 0 ) had changed.
This commit is contained in:
parent
51b350252e
commit
f4f918f9a6
|
@ -63,7 +63,7 @@ public final class DataStatusEvent extends EventObject implements Serializable
|
||||||
private int m_loadedRows = -1;
|
private int m_loadedRows = -1;
|
||||||
private int m_currentRow = -1;
|
private int m_currentRow = -1;
|
||||||
//
|
//
|
||||||
private int m_changedColumn = 0;
|
private int m_changedColumn = -1;
|
||||||
private String m_columnName = null;
|
private String m_columnName = null;
|
||||||
|
|
||||||
/** Created */
|
/** Created */
|
||||||
|
|
|
@ -2182,7 +2182,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
|
||||||
*/
|
*/
|
||||||
public GridField getField (int index)
|
public GridField getField (int index)
|
||||||
{
|
{
|
||||||
return m_mTable.getField(index);
|
return (index >= 0 ? m_mTable.getField(index) : null);
|
||||||
} // getField
|
} // getField
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue