JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Data Grid › Change cell value based on other cell value › Reply To: Change cell value based on other cell value
March 14, 2023 at 5:06 am
#104507
svetoslav_borislavov
Participant
Hi,
You may check our demo with the dynamic column template:
https://www.htmlelements.com/demos/grid/column-dynamic-template/
Here is a custom one for your needs: https://codepen.io/svetoslavjqwidgets/pen/xxaWgRE
You should set a template in the column definition.
It should be a function that accepts formatObject.
You can use the format object to access the row data.
Best Regards,
Svetoslav Borislavov
Smart UI Team
https://www.htmlelements.com/