Hello,
I follow the instructions for using SfStepProgressBar.
To add the data I use an ObservableCollection.
The data changes dynamically through the firebase, but SfStepProgressBar does not update when changing the data. It loses the current data but the new data does not appear.
I use the function below to update:
private void UpdateSample()
{
ProductDeliveryTrackings = new ObservableCollection<ProductDeliveryTrackingModel>();
if (App.Current.pedidoSelected != null)
{
ProductDeliveryTrackings.Add(new ProductDeliveryTrackingModel()
{
Title = "Pedido Realizado",
TitleStatus = "Aguardando o Pedido",
Date = ""
});
ProductDeliveryTrackings.Add(new ProductDeliveryTrackingModel()
{
Title = "Aprovação",
TitleStatus = "Aguardando o pagamento.",
Date = "",
StepStatus = StepStatus.InProgress,
ProgressValue = 50
});
}
What I want in summary is to change the data of the SfStepProgressBar and that change to update the view.
Thanks for help.
Hi
just followed your sample and updated the Progress Value on ChangeLayout() Method
public void ChangeLayout()
{
ShipmentInfoCollection[0].Title = "New Layout Updated";
ShipmentInfoCollection[0].ProgressValue = 60;
ShipmentInfoCollection[0].Status = StepStatus.InProgress;
ShipmentInfoCollection[1].Title = "New Layout Updated";
ShipmentInfoCollection[2].Title = "New Layout Updated";
ShipmentInfoCollection[3].Title = "New Layout Updated";
}
Control is just updating the title and progress value and status are not updating.
We are facing a similar issue in the binding where progress value and status are not updating.
We tried the same sample in v19 and the same issue persists.
Hi
just followed your sample and updated the Progress Value on ChangeLayout() Method
public void ChangeLayout()
{
ShipmentInfoCollection[0].Title = "New Layout Updated";
ShipmentInfoCollection[0].ProgressValue = 60;
ShipmentInfoCollection[0].Status = StepStatus.InProgress;
ShipmentInfoCollection[1].Title = "New Layout Updated";
ShipmentInfoCollection[2].Title = "New Layout Updated";
ShipmentInfoCollection[3].Title = "New Layout Updated";
}
Control is just updating the title and progress value and status are not updating.
We are facing a similar issue in the binding where progress value and status are not updating.
We tried the same sample in v19 and the same issue persists.