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.

Support for templates/ItemTemplateSelector?

Thread ID:

Created:

Updated:

Platform:

Replies:

123598 Apr 1,2016 10:42 PM Apr 2,2016 09:55 AM UWP 1
loading
Tags: SfDataGrid
Deanna Delapasse
Asked On April 1, 2016 10:42 PM

Hi,

I wasn't able to find any online documentation of the UWP datagrid product.  I was wondering if someone could confirm for me if the SFDataGrid will support ItemTemplateSelector and the use of DataTemplates?

I have some functionality working in a ListView, but the customer is demanding a grid.  

thanks!
Deanna

Sivakumar R [Syncfusion]
Replied On April 2, 2016 09:55 AM

Hi Deanna,

Please find the documentation link for SfDataGrid UWP,
http://help.syncfusion.com/uwp/sfdatagrid/getting-started
Knowledge base articles for SfDataGrid,
https://www.syncfusion.com/kb/uwp/sfdatagrid

You can use GridTemplateColumn to load template in column.
http://help.syncfusion.com/uwp/sfdatagrid/column-types#gridtemplatecolumn

You can GridTemplateColumn.CellTemplateSelector to load display template.
http://help.syncfusion.com/uwp/sfdatagrid/column-types#setting-celltemplate-based-on-custom-logic-using-templateselector

if you want to use template selector for edit element, then you can sue GridTemplateColumn.EditTemplateSelector.
http://help.syncfusion.com/uwp/sfdatagrid/column-types#sets-edittemplate-based-on-custom-logic

Thanks,
Sivakumar

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.

;