- Home
- Forum
- Xamarin.Forms
- Custom CellTemplate for a DataGrid in one column?
Custom CellTemplate for a DataGrid in one column?
I'm trying to customize the display of some information by adding a small color box to indicate status of a row item in the first column. I see there is a property for HeaderTemplate, but there does not appear to be anything equivalent for grid contents. Is this possible? I understand I can apply styles to columns and cells, but styles will not accomplish what I desire.
SIGN IN To post a reply.
5 Replies
1 reply marked as answer
KK
Karthikraja Kalaimani
Syncfusion Team
December 21, 2020 11:36 AM UTC
Hi Andrew,
Your requirement can be achieved by using the GridTempalteColumn. In, GridTemplateColumn we can load any type of Xamarin Forms View. For more details please refer to the below UG document.
https://help.syncfusion.com/xamarin/datagrid/column-types#cell-template
Regards,
Karthik Raja
Your requirement can be achieved by using the GridTempalteColumn. In, GridTemplateColumn we can load any type of Xamarin Forms View. For more details please refer to the below UG document.
https://help.syncfusion.com/xamarin/datagrid/column-types#cell-template
Regards,
Karthik Raja
Marked as answer
AH
Andrew Hoke
January 4, 2021 04:13 PM UTC
Great, this seems to be what I was looking for; however, I think adding a link to this section on the Data Binding would be helpful for others looking for this guide.
KK
Karthikraja Kalaimani
Syncfusion Team
January 5, 2021 02:50 PM UTC
Hi
Andrew,
Thanks for your valuable suggestion. We will check the “Data Binding Section”
and implement in future.
Regards,
Karthik Raja
Is there something equivalent to "GridCellTextViewRenderer" to get live updates for a custom cell template?
SV
Suja Venkatesan
Syncfusion Team
January 28, 2022 02:45 PM UTC
Hi Bobby,
We are unclear about your requirement which you mentioned as “get live updates for a custom cell template” in your last update. Can you please share more details about requirement with any illustration video or image. It will be more helpful for us to provide the prompt solution at earlier.
Regards,
Suja
SIGN IN To post a reply.
- 5 Replies
- 4 Participants
- Marked answer
-
AH Andrew Hoke
- Dec 18, 2020 05:37 PM UTC
- Jan 28, 2022 02:45 PM UTC