What I am trying to do.. is create this grid of CartLines, display them, and allow editing of ONLY the quantity field.
This grid below displays, and is editable (presumably, I haven't implemented the update action but the UI appears to work).
The moment I added .Editable(false) to any of the model.Fields, I get an error that the object is not referring an object ..
>> Object reference not set to an instance of an object.
and that happens before it even tries to call the read action. And I am quite surprised about the behavior on the first column, the picture column. That field is editable also which surprised me. I mean.. I guess i didn't tell it not to.. But it is clearly associating it with the modeId and I would think the modelid is sacred and shouldn't be changed.
Anyway... what's the best way to accomplish this?
Quantity should be editable
Nothing else should be editable.
(though I may add a delete the entire row option)