Our state of the art Gantt chart


Post by Qwerty »

Hello,

We want to send back to the server a field that will never be modified. There is one mention in the documentation about setting a field as 'critical', but it doesn't look like this is supported now. We had a look at the code, and we could only find some commented out code where the critical fields are set before update. Can you let us know if passing an unmodified field is possible, or if there is a workaround?

Thank you!


Post by alex.l »

All the best,
Alex


Post by Qwerty »

Hi Alex,

Thanks for your response. We did have a look at that, but it seemed like a hammer approach. We wanted to send back just the one field which would help in identifying the record in the backend.

Regards


Post by mats »

I've added this feature request to get this addressed: https://github.com/bryntum/support/issues/848


Post by mats »

This has been added in 4.1.0!

          /**
             * Setting to `true` will ensure this field is included in any update/insert request payload
             * when a Store / Project / CrudManager performs a request.
             * @config {Boolean}
             * @default
             */
            alwaysWrite : false,

Post Reply