G
Guest
Hi there,
I derived a custom grid class from Forms.DataGrid to serve as a logging table. Currently I'm adding the columns in the grid's constructor. What I would like to have is a class that does this automatically when the grid is initialized. Then the columns would be added between to BeginInit and EndInit methods of the grid's ISupportInitialize interface. But I don't know what event to bind to or what to override.
Can someone help me out? Thanks,
I derived a custom grid class from Forms.DataGrid to serve as a logging table. Currently I'm adding the columns in the grid's constructor. What I would like to have is a class that does this automatically when the grid is initialized. Then the columns would be added between to BeginInit and EndInit methods of the grid's ISupportInitialize interface. But I don't know what event to bind to or what to override.
Can someone help me out? Thanks,