AD
Administrator
Syncfusion Team
April 23, 2004 12:42 PM UTC
There is no document that lists changes between GridControl and GridDataBoundgrid.
If you don''t see an event (like ColWidthsChanging) in GridDataBoundGrid, then look at the this.gridDataBoundGrid1.Model object. It is likely you will find the event there (there is a grid.Model.ColsWidthsChanging event).
AD
Administrator
Syncfusion Team
April 23, 2004 01:08 PM UTC
Good I will use that. When I do a properities/events on the databound grid on the form it doesn''t list the event for the databound one but does for the regular one. Is this supposed to be?
>There is no document that lists changes between GridControl and GridDataBoundgrid.
>
>If you don''t see an event (like ColWidthsChanging) in GridDataBoundGrid, then look at the this.gridDataBoundGrid1.Model object. It is likely you will find the event there (there is a grid.Model.ColsWidthsChanging event).
>
>
AD
Administrator
Syncfusion Team
April 23, 2004 02:16 PM UTC
If you are using C#, if you type ''this.gridDataBoundGrid.Model.'' , intellisense should autocomplete ColWidthsChanging as you type.
If you are using VB, then you have to use the AddHandler call to subscribe to such events.
AddHandler Me.GridDataBoundGrid.Model.ColWidthsChanging, addressof MyEventHandler
I think you will have to force the Model to appear after the Me.GridDataBoundGrid in this line, but after you do so, pressing . should show the events that are found in the Model. If you search for AddHandler using FindInFiles in the grid''s Samples folder, you will see lots of sample snippets.