There actually is a function
but that only seems to work when there is no grouping active. Do you think i should raise that as a bug?
After assigning my datasource with
EnumBindingSource.DataSource = ctx.Enums
i immediately begin customizing the grid view (hiding columns, adding the grouping and self reference).
As I am only using a small amount of test data, this works nicely.
Now you mention waiting for the DataBindingComplete
event to start a timer that will expand the rows.
Can you enlighten me on that one? Do I have to wait for the DataBindingComplete
event? Ans how long should a timer wait before starting to do things on the GridView? What things can I do immediately after assining my DataSource, what things do have to wait for the DataBindingComplete
Edit: I have great problems using the DataBindingComplete Event, as it is being fired several times during InitializeComponent() and again when I set up the Grid's datasource. Any hints on that one??