Hi,
If I want to detect the row change (either in table or in repeater), what should I do?
Thanks in advance for the help.
Is it possible to get the row change event?
Moderators: Jon, Steve, Ian, Dave
-
- Ebase User
- Posts: 305
- Joined: Thu Jul 02, 2015 8:32 am
- Location: Indonesia
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
You can use this on the server at any time to check for a modified row:
The modified status is cleared by a fetchtable or updatetable.
There are no explicit row level events in Ebase. If you want to react immediately to a row change, the easiest way will be to add the immediate validation option to each editable field/column in the row.
Code: Select all
var rows = t.rows;
while (rows.next())
{
if (t.isRowModified())
{
...
}
}
There are no explicit row level events in Ebase. If you want to react immediately to a row change, the easiest way will be to add the immediate validation option to each editable field/column in the row.
0 x
-
- Ebase User
- Posts: 305
- Joined: Thu Jul 02, 2015 8:32 am
- Location: Indonesia
Hi,
I don't want to check the change or inserted status, but I want to check if the user is change row from row 1 to row 2 or vice versa (for e.g. by clicking the page number at the bottom of repeater or grid).
I don't want to check the change or inserted status, but I want to check if the user is change row from row 1 to row 2 or vice versa (for e.g. by clicking the page number at the bottom of repeater or grid).
Jon wrote:You can use this on the server at any time to check for a modified row:The modified status is cleared by a fetchtable or updatetable.Code: Select all
var rows = t.rows; while (rows.next()) { if (t.isRowModified()) { ... } }
There are no explicit row level events in Ebase. If you want to react immediately to a row change, the easiest way will be to add the immediate validation option to each editable field/column in the row.
0 x
Who is online
Users browsing this forum: No registered users and 18 guests