Creating a psudo-column on a table to show the sum of two other columns?

  • 1
  • Question
  • Updated 4 years ago
  • Answered
Scenario: New Record Page with Related List.
Real-life: Purchase Order with Purchase Order Items.

Purchase Order Items related list/table has Item, Quantity, and Price Each. On the Purchase Order Items object we have a Total field that is a formula(Item * Price Each).

I would like to simulate that Total field client-side so that the call center folks can see line item totals before hitting Save.

Is there any way to do this with custom renderers / snippets? I'm fresh to Skuid and haven't gotten a great grasp of the dev tools yet.

Thanks!
Photo of Charles Zink

Charles Zink

  • 388 Points 250 badge 2x thumb
  • confused

Posted 4 years ago

  • 1
Photo of Moshe Karmel

Moshe Karmel, Champion

  • 8,646 Points 5k badge 2x thumb
You can definitely do that with a custom field renderer. Check this out: https://community.skuidify.com/skuid/topics/custom_field_renderer_simple_math as well as this: http://help.skuidify.com/m/11720/l/204496-table-component-custom-field-renderers. If you have a specific issue with the javascript I can help you with that.