|
-
Nov 4th, 2009, 09:53 PM
#1
Thread Starter
Hyperactive Member
Datagrid & tablestyle
I have a datagrid which contains several different tablestyles. One of these is also a merged datasource from 2 different data sources. Depending on runtime options any 1 of these tablestyles will be visible and accessable to the user. How can I tell WHICH tablestyle a click or a cellrowchange event originated from? I think it is part of the "sender" object on the click event or the cellchange event but not sure how to surface it.
gollnick
-
Nov 5th, 2009, 12:37 AM
#2
Re: Datagrid & tablestyle
The 'sender' parameter always refers to the object that raised the event, so I would think it's going to be the DataGrid itself in your case. If there's extra information to be gleaned it would be from the 'e' parameter. You event handler declaration will tell you what type it is and you can then read the documentation for that type to see what properties it exposes.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|