Net 8 Blazor WebApp in a Datagrid
I want to use Stepper within a field in a Datagrid to display the progress of each ordered item, and I've been playing around with it, but I can't get it to work.
The value of status queried from the DB is "Ordered, Shipped, OnDelivery, Delivered"
and I want the status of the stepper to be displayed.
1. I don't think Stepper is the best component for this, so I'm thinking of using a switch statement based on the field value in the db, but I'm not sure if this is correct.
2. also, inserting one Stepper into each row of the Datagrid indiscriminately would be a huge load on the system, so I'm not sure ifit's right.
What is the best way to implement this in the syncfusion component?
Would it be best to just do it with javascript or css?