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.

Change celltype as Monthcalendar in GridDatacontrol dynamically

Thread ID:

Created:

Updated:

Platform:

Replies:

108598 May 1,2013 06:23 AM May 7,2013 12:39 AM WPF 1
loading
Tags: GridControl
Narmatha Palaniappan
Asked On May 1, 2013 06:23 AM

Hi,

  I want to change a celltype as Monthcalendar dynamically in syncfusion griddatacontrol. Can u please suggest me in this.


Rajasekar G [Syncfusion]
Replied On May 7, 2013 12:39 AM

Hi Narmatha,

 

Thank you for using Syncfusion products.

 

We have analyzed your query and you can achieve your requirement by using the following code snippet.

 

Code snippet[C#]:

private void Button_Click(object sender, RoutedEventArgs e)

{

    //Here Date is the VisibleColumnName

    this.SyncGrid.VisibleColumns["Date"].ColumnStyle = new GridDataColumnStyle() { CellTypeEnum = GridDataCellType.DateTimeEdit };

}

 

Please let us know if you have any questions.

 

Regards,

Rajasekar


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.

;