Hi Stefana,
Thanks for your example !
I was going through my code and found out that it was different from the example u had mentioned.
In my case only after the views are created( i.e, after the InitializeComponent() ) the viewmodel is assigned as the datacontext of the view !!
Hence only after the window is loaded the datacontext is available !! The problem is that i can't change the code which is already present before!
Is there a way to use the datacontext available, after the window is loaded, to change the visibility of the field in the datagrid ??
Regards,
Jai