Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
149391 | Nov 25,2019 09:01 AM UTC | Nov 26,2019 01:01 PM UTC | WPF | 1 |
![]() |
Tags: SfDataGrid |
Query |
Solution | |
We are currently trying to display a databar in the background of a column in wpf sfdatagrid while a value is in the foreground. We want to achieve a similar representation as it is possible in Excel.
Here is an excel example.
Is this possible? If so, how? |
You can achieve this by using GridTemplateColumn with ProgressBar and TextBlock as DataTemplate as shown in the below code example.
Code example:
We have prepared a sample using the above code example and it is available in the below link for your reference.
Sample link : https://www.syncfusion.com/downloads/support/directtrac/general/ze/149391_Sample-1438457161
| |
And, additionally asked, can we also create horizontally stacked bars? |
We are not clear with this requirement. Please confirm whether you need to display as shown in the below image.
Please provide more details about this requirement. It will be helpful for us to analyze and provide a prompt solution at the earliest. |
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.
This page will automatically be redirected to the sign-in page in 10 seconds.