Render table field from related object as Editable?

  • 1
  • Question
  • Updated 2 years ago
Is there a way to render a text field from another object as editable?

I've tried the following and it does not work.

var field=arguments[0],
value=arguments[1];
skuid.ui.fieldRenderers.TEXT[field.mode](field, value);
Photo of Brayden Smith

Brayden Smith

  • 1,078 Points 1k badge 2x thumb

Posted 2 years ago

  • 1
Photo of Karen Waldschmitt

Karen Waldschmitt, Official Rep

  • 8,220 Points 5k badge 2x thumb
Brayden~

I'm not sure I am totally following what you are trying to accomplish. Are you trying to bring in the value from another model as a new value on the table row and when edited, saves on the model associated with the table? If not, when that record gets saved, what are you hoping to have happen? The new value gets saved on the model not associated with that table but on the other record? 

Thanks!
Karen
Photo of Brayden Smith

Brayden Smith

  • 1,078 Points 1k badge 2x thumb
Yes, I am trying to bring in a value from a related model as a value on the table I am viewing, and when edited, saves on the related model.
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
I've done this but not in my client's org. It is possible but requires some hackery and a custom field renderer. It was for a GBC client a while back. Maybe they wouldn't mind sharing if they still have it.
Photo of Karen Waldschmitt

Karen Waldschmitt, Official Rep

  • 8,220 Points 5k badge 2x thumb
Pat~

That would be awesome if you could share :)

Thanks!
Karen
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
Don't have access to that org anymore. Greg might.
(Edited)
Photo of Karen Waldschmitt

Karen Waldschmitt, Official Rep

  • 8,220 Points 5k badge 2x thumb
Brayden~

Is this what you are trying to do? If so, help to vote it up so our devs know how important of an issue this is without the hackery and custom field rendering that Pat described having had to use above.

Thanks!
Karen