We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

creating new column property in datagrid column collection

Thread ID:

Created:

Updated:

Platform:

Replies:

123342 Mar 8,2016 10:28 PM Mar 10,2016 05:10 AM WPF 1
loading
Tags: SfDataGrid
babu
Asked On March 8, 2016 10:28 PM

hai

I am creating a user control with datagrid controls. I want to add my new property called  DatagridNumericColumn property to my user control.
Please help me how to do this.

I use this code for creating collection

 public Collection<DataGridColumn> field = new Collection<DataGridColumn>();
        [Category("Data")]
        [Description("New Column Creation")]
        [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
        public Collection<DataGridColumn> Columns
        {
            get { return field; }
        }
Thanks.

Srinivasan Vasu [Syncfusion]
Replied On March 10, 2016 05:10 AM

Hi Babu,
Thanks you for Contacting Syncfusion support.
We are unable to understand your requirement clearly. Could you please let us know whether you are using any CustomColumn of SfDataGrid? Could you please share the details about your exact requirement? It will be helpful for us to analyze further. 
To know more about columns in SfDataGrid, please refer the below links.
Link: http://help.syncfusion.com/wpf/sfdatagrid/column-types
         http://help.syncfusion.com/wpf/sfdatagrid/column-types#custom-column-support
Regards,
Srinivasan




CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;