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

Create calculated column based on other coulmns and keep format for newly inserted columns

I have a grid and I created an insert that happens inside the context menu.

I have set the rowDataBound to set the column based on other columns in the data.

When I insert a new record the row does not have the calculated value like the other rows. How would I make the new row have the same calculations?  Or would it would be better to use a rowtemplate/columnTemplate if so can you provide an example?

1 Reply

VB Vinitha Balasubramanian Syncfusion Team January 30, 2023 06:35 AM UTC

Hi Rafael,

Thank you for reaching out to Syncfusion support.

Query : Create calculated column based on other columns and keep format for newly inserted columns

In order to provide a precise solution to your inquiry, please provide the following details:

  • A clear explanation of your specific needs.
  • To help with your issue of an empty data while inserting a row, can you please share more details on how you are passing the new data to the grid.
  • Additional information, kindly share the code details of how you are calculating results for other columns.
  • Are you performing context menu clicks based on existing row data?


Vinitha Balasubramanian

Live Chat Icon For mobile
Up arrow icon