Welcome Guest Search | Active Topics | Sign In | Register

custom row creation in grid Options
Abacus Financial Inc.
Posted: Thursday, February 2, 2012 4:12:00 AM
Rank: Member
Groups: Member

Joined: 11/26/2010
Posts: 26
I'm creating a grid with some custom columns and I cannot simply bind to a field in the database: the data that will need to be inserted in the cells requires several SELECT statements and conditional logic. I was very surprised to find out that events like "OnRowCreated" are NOT supported by Grid? Do you have anything that replaces those events? (I'm only interested in the server-side, I don't want to get the data to the client, massage it with javascript and re-insert it in the grid). Thanks!
eo_support
Posted: Thursday, February 2, 2012 9:06:36 AM
Rank: Administration
Groups: Administration

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

No. There is no such event because the Grid can create rows on the client side without calling server side at all. This is one of the biggest advantages of our Grid ---- but that also means there is no equivalent of OnRowCreated event on our Grid. If you want to have computed columns, you can compute them in your data source and then pass the computed result to the Grid, you can not dynamically compute it while filling the Grid.

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.