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. Image for the cookie policy date

Support for templates/ItemTemplateSelector?

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

1 Reply

SR Sivakumar R Syncfusion Team April 2, 2016 01:55 PM UTC

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

Loader.
Live Chat Icon For mobile
Up arrow icon