kinglozzer

You might need $('#Form_ItemEditForm_Summary').entwine('ss').reload();

greg_808

it has a data url so maybe entwine is not the way to go

greg_808

The fieldset has this classes grid grid-field ss-gridfield field i´d say yes this is the gridfield

Mo

is your onchange actually being called?

Mo

@greg_808 Is "#Form_ItemEditForm_Summary" the actual gridfield?

greg_808

How would i reload a gridfield with js. If one Gridfield changes i wan’t to reload another. This is what i have so far. I get the change event but i am not able to relod the gridfield. Is it even possible with entwine at the moment or do i need to use react?

  1. (function ($) {
  2. $.entwine(function ($) {
  3. if ($('#Form_ItemEditForm_Summary')) {
  4. $('#Form_ItemEditForm_B2BOrderItems').entwine({
  5. onchange: function () {
  6. $('#Form_ItemEditForm_Summary').reload();
  7. }
  8. })
  9. }
  10. });
  11. })(jQuery);