Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hey Tim - this package is simply AWESOME - nice work...
Just wondering if there's a way to disable just C & D of CRUD ?
I note you can disable all editing but in my case, I am happy for admins to edit...
Am happy to dig into code, but thought I'd ask here first (it's been a long week).
Look forward to hearing from you.
Cheers
Nigel
Hi Nigel, yeah you'll need to dig into the code for that, there's only a readonly setting you can set currently (on the uiomatic attribute) https://github.com/TimGeyssens/UIOMatic/blob/master/src/UIOMatic/Attributes/UIOMaticAttribute.cs
You'll see that in the tree code it checks for this attribute value and then adds the create/delete depending on that https://github.com/TimGeyssens/UIOMatic/blob/master/src/UIOMatic/Trees/UIOMaticTreeController.cs
Thanks Tim - will have a play around with this and see what I can break. :-)
Hi! If you found out how to do this, can you please share it? Thanks a ton in advance!
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Disable Create and Delete
Hey Tim - this package is simply AWESOME - nice work...
Just wondering if there's a way to disable just C & D of CRUD ?
I note you can disable all editing but in my case, I am happy for admins to edit...
Am happy to dig into code, but thought I'd ask here first (it's been a long week).
Look forward to hearing from you.
Cheers
Nigel
Hi Nigel, yeah you'll need to dig into the code for that, there's only a readonly setting you can set currently (on the uiomatic attribute) https://github.com/TimGeyssens/UIOMatic/blob/master/src/UIOMatic/Attributes/UIOMaticAttribute.cs
You'll see that in the tree code it checks for this attribute value and then adds the create/delete depending on that https://github.com/TimGeyssens/UIOMatic/blob/master/src/UIOMatic/Trees/UIOMaticTreeController.cs
Thanks Tim - will have a play around with this and see what I can break. :-)
Cheers
Nigel
Hi! If you found out how to do this, can you please share it? Thanks a ton in advance!
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.