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

Grid Column with Value Based on Another Value

Hello !

Please tell me how to display in a grid field a string value in if the grid's data source the value is integer !

I have a few possibilities :

If model_value=1 in grid's column must be "ORDER RECEIVED"

If model_value=2 in grid's column must be "ORDER CANCELED"

and so on.

Thank You Very Much !


1 Reply

SP Sarveswaran Palani Syncfusion Team February 14, 2023 11:30 AM UTC

Hi Tom,

Greetings from Syncfusion support.

From your query, we suspect that you want to change value of the column using another column; if so, we have already discussed about this topic in our UG documentation. Using this documentation, you can create your own based on your requirement. Kindly refer the attached UG documentation for your reference.

Reference: https://blazor.syncfusion.com/documentation/datagrid/dialog-editing#implement-calculated-column-inside-grid-dialog-editing

If we misunderstood your query, kindly share the more details about your exact requirement and screenshot/video demo of your expectations.

Regards,
Sarvesh


Loader.
Up arrow icon