The Data Table does not seem to have the Read-Only option presented in the documentation. How can you hide the Action Bar (Add item button) for a display-only capability?
Dear @CraigFox,
Use the read-only property of the control - Data Table — Plumsail SharePoint Forms Documentation
I should add... This is on the Display view. I do have that option on the New view.
Dear @CraigFox,
It should also be in readonly mode on Display form by default, but only if you have Save to set.
If you set value with JS instead, you could also disable it:
fd.spRendered(() => {
fd.control('DataTable1').value = [
{"Column1": "Test"}, {"Column1": "Test 2"}, {"Column1": "Test 3"}
];
fd.control('DataTable1').disabled = true;
});
And use CSS to hide toolbar/buttons:
.k-grid-toolbar,
.fd-command-cell.k-command-cell{
display: none!important;
}

