I'm using the databound grid. I need all the grids on all my forms to implement changes to other controls base on the selection of the grid row. Is there a generic model or object that I can attach/bind to the databound grid that can handle this common event on every grid?
Thanks for your help
ADAdministrator Syncfusion Team June 25, 2003 04:26 PM
I am not sure I understand, but I don't think there is any special grid functionality for this. Maybe you could just use the standard event processing. For example, if you want to catch the action of either entering a row or leaving a row, you can subscribe to the RowEnter or RowLeave events for the GridDataBoundGrid.
Then if you want to notify other controls of this action, you could have the other forms (controls) subscribe to this same event. If you need to pass special information, you could create your own event with specail event args that you could fire from this event. Then the other forms (controls) could subscribe to your event to receive the proper information to act on.
GRGrerJune 25, 2003 04:36 PM
I'm looking for something like the cellrenderer object.
So there is no way to do this unless I put it in the Syncfusion grid source code or just make one method and have the grids all point to it for the row change event method.
I guess the other way to do this is to wrap the databound grid with a composit control and put my code in.
So you have any other suggestions?