This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Is there a way for me to get notification when the user resizes a column in the DataGrid and get the new width of the column? Thanks! |
|
|
Hello Jared Yes, each column has a WidthChanged event that you can listen to. This is called every time the width of a column changes - not just when the user releases the mouse. If you create the columns yourself, you can attach an event handler after you create a column. If you are getting the DataGrid to auto generate the columns, you can iterate the EffectiveColumns collection to attach events. Jason Fauchelle |
|
|
Thanks Jason! I apologize...I looked for an event, but for some reason didn't see the WidthChanged event. I must be going blind. :) |
|