Subject | RE: [IBO] How to insert at first position in a grid |
---|---|
Author | Jason Wharton |
Post date | 2004-09-09T19:19:22Z |
Look at the property AppendOnInsert.
Jason
-----Original Message-----
From: c.tamalun@... [mailto:c.tamalun@...]
Sent: Wednesday, September 08, 2004 2:32 AM
To: ibobjects@yahoogroups.com
Subject: [IBO] How to insert at first position in a grid
Hi all,
i have a grid with an IB_Query, the records are sorted by Date descending.
So the newest entry is on top. When the user inserts a new row (by clicking
+ in the updatebar), the new record is always at the bottom of the list.
Is there a property, to insert new records at the top or at the current
position?
Or is there a way to manipulate the position of the inserted record while in
Before- or AfterInsert?
Post and refresh is no solution for me, because with the post my triggers
are doing their work, which is not wanted in this situation.
Thanx for any help
Christoph Tamalun
Treesoft GmbH & Co KG
Jason
-----Original Message-----
From: c.tamalun@... [mailto:c.tamalun@...]
Sent: Wednesday, September 08, 2004 2:32 AM
To: ibobjects@yahoogroups.com
Subject: [IBO] How to insert at first position in a grid
Hi all,
i have a grid with an IB_Query, the records are sorted by Date descending.
So the newest entry is on top. When the user inserts a new row (by clicking
+ in the updatebar), the new record is always at the bottom of the list.
Is there a property, to insert new records at the top or at the current
position?
Or is there a way to manipulate the position of the inserted record while in
Before- or AfterInsert?
Post and refresh is no solution for me, because with the post my triggers
are doing their work, which is not wanted in this situation.
Thanx for any help
Christoph Tamalun
Treesoft GmbH & Co KG