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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to have more than one field in celltemplate / datatemplate

Thread ID:





97527 Dec 6,2010 07:31 PM UTC Dec 11,2010 11:38 AM UTC WPF 1
Tags: GridControl
Jon Elster
Asked On December 6, 2010 07:31 PM UTC

I have grid with 1 column and lots of rows.
I want to use a complex datatemplate in the single column and have mutiple fields and buttons displayed in the column / cell.
How can I have more than one field bound to a cell.. your following example only does one.. thanks

syncfusion:GridDataVisibleColumn MappingName="LastName" HeaderText="LastName"
Width="90" >


Ponraja A [Syncfusion]
Replied On December 11, 2010 11:38 AM UTC

Hi Jelster,

Thanks for using Syncfusion product.

You can achieve your requirement by using the data template as shown in the following code snapshot

[Sample Code]

We have created the sample based on your requirement. Please find the sample in the following attachment.

Let us know if you need any other details.




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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon