1003581 IDEMPIERE-1584 -- Custom sort order is lost when updating a record. Fixed retain sort order for detail tabs.
This commit is contained in:
parent
c218175559
commit
fe8d50e213
|
@ -2965,6 +2965,11 @@ public class GridTable extends AbstractTableModel
|
||||||
m_changed = false;
|
m_changed = false;
|
||||||
m_rowChanged = -1;
|
m_rowChanged = -1;
|
||||||
m_inserting = false;
|
m_inserting = false;
|
||||||
|
if (m_lastSortColumnIndex >= 0)
|
||||||
|
{
|
||||||
|
loadComplete();
|
||||||
|
sort(m_lastSortColumnIndex, m_lastSortedAscending);
|
||||||
|
}
|
||||||
if (fireEvents) {
|
if (fireEvents) {
|
||||||
fireTableDataChanged();
|
fireTableDataChanged();
|
||||||
fireDataStatusIEvent(DATA_REFRESH_MESSAGE, "");
|
fireDataStatusIEvent(DATA_REFRESH_MESSAGE, "");
|
||||||
|
|
Loading…
Reference in New Issue