AdvWebGrid cancel |
Post Reply ![]() |
Author | |
Obenschain Thomas L ![]() Member ![]() Joined: 21 Jan 2016 Posts: 46 |
![]() ![]() ![]() ![]() Posted: 22 Apr 2019 at 1:28pm |
After inserting a row in TTIWAdvWebGrid it goes int edit mode. I am unable to remove the row with cancel. I tried: DeleteRows(ActiveRow,1); DeleteRows(ActiveRow+1,1); DeleteRows(ActiveRow-1,1); I always end up with a blank row.
|
|
![]() |
|
Bart Holvoet ![]() TMS Support ![]() ![]() Joined: 18 May 2010 Posts: 2166 |
![]() ![]() ![]() ![]() |
Hi,
Can you please try using RowCount instead of ActiveRow? Example: DeleteRows(RowCount, 1);
|
|
![]() |
|
Obenschain Thomas L ![]() Member ![]() Joined: 21 Jan 2016 Posts: 46 |
![]() ![]() ![]() ![]() |
The insertion is in the middle of the grid.
|
|
![]() |
|
Bart Holvoet ![]() TMS Support ![]() ![]() Joined: 18 May 2010 Posts: 2166 |
![]() ![]() ![]() ![]() |
I have not been able to reproduce this issue.
Can you please provide the following information so I can further investigate this? - The version of Delphi you are using - The version of IntraWeb you are using - The name and version of the browser you are using - A ready to run sample project that demonstrates the issue - Exact instructions to reproduce the issue
|
|
![]() |
|
Obenschain Thomas L ![]() Member ![]() Joined: 21 Jan 2016 Posts: 46 |
![]() ![]() ![]() ![]() |
My mistake. My OnCancel routine was not executing Cancel method.
|
|
![]() |
Post Reply ![]() |
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |