Hello, Experts.
I made a "New" button at a top of grid in form (AX7)
When the "New" button is clicked, I would like to add/create a new row ati the bottom of grid independent on current focus completely.
So I tried this code below:
------------------------------------
[DataSource]
class DummyTable
{
public void create(boolean _append = true)
{
this.last();
super(_append);
}
}
------------------------------------
(DummyTable is a datasource in form.)
Definitely, when I clicked "New" button once, this code made a new row add in the bottom of grid.
But, when I clicked "New" button again, a new row added in the second of grid.
And when I clicked "New" button again, a new row added in the bottom of grid.
And when I clicked "New" button again, a new row added in the second of grid..............
All I would like to do is a new row always adds/creates in the bottom of grid.
Could you give me any ideas?
Best wishes,