Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
615
How to disable hierarchy column.
posted

Hi,

I want to bind single table to xamGrid but everytime I bind xamGrid always has the first column for childband drill down. How I disable this column in code. My code is below:

            _eBiz4DSysContext.Load(_eBiz4DSysContext.GetSYS_MessageQuery()).Completed += (sender1, args) =>

            {

                var message = from p in _eBiz4DSysContext.SYS_Messages

                               where p.Code==1 || p.Code ==3

                               select p;                

                this.xamGrid1.ItemsSource = message;

                this.dataGrid1.ItemsSource = message;                       

            };

 

Thanks

Han