How to have more than one field in celltemplate / datatemplate

Hi..
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" >


Foreground="Black"
syncfusion:VisualContainer.WantsMouseInput="True"/>






1 Reply

PA Ponraja A Syncfusion Team 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]
[XAML]



















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.

Regards,
Ponraja




WpfApplication_10958caa.zip

Loader.
Up arrow icon