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
705
Using IBindingList as DataSource to bind UltraWinGrid and show only desired columns
posted

 Hi

 I am using IBindingList as DataSource to bind UltraWinGrid.

So as i set the binding source the UltraWinGrid is filled with object which i had send via datasource.There are as many columns as many properties i had in my object.

My problem is that i want to customize the columns as i want only desired columns not all properties which are there in my object.

Is there any option or any other way by which i could handle the columns which are shown ,except setting Hidden/Visible property ?

I need not all columns to be binded via UltraWinGrid

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

    Hi,

    If you don't want to use the Hidden property on the grid column, then the only other simple way to do this would be to put the [Browsable(false)] attribute on the properties of your object that you do want to bind. This will tell the BindingManager in DotNet to ignore those properties for the purposes of binding.

Children