Welcome Guest Search | Active Topics | Sign In | Register

Can I do both add and edit on the same gridview at the same time? Options
tusi
Posted: Friday, April 5, 2013 5:22:31 PM
Rank: Newbie
Groups: Member

Joined: 3/25/2013
Posts: 6
I have a gridview that allows user to enter any comment in row basis (2 columns with unlimited rows)
Let's say user already entered 3 rows and saved into the database. Then, can the user then edit one of the rows above while also add new rows? I am using eo grid excel style without edit column.
I do understand that I have to update the grid after add new item. That will mean, I will lose the edit item, thus, I lost the itemupdated value. Any thought will be greatly appreciated. Thanks
sub update()
processAddEvent(sdate, selShift)
processEditEvent(sdate, selShift)
end sub
eo_support
Posted: Friday, April 5, 2013 7:55:09 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

You can do that. You can loops through both Grid.ChangedItems and Grid.AddedItems.

Thanks!
tusi
Posted: Friday, April 5, 2013 8:51:57 PM
Rank: Newbie
Groups: Member

Joined: 3/25/2013
Posts: 6
My page is running several of grids at the same time so it is running a bit slower, can I just update and upload only certain grid I(excel style) without loading other controller? Thanks
eo_support
Posted: Saturday, April 6, 2013 1:47:05 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
No. The whole page goes back and forth together.

Thanks


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.