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!
|
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!
|