Fully functional datagrid examples?

Fully functional datagrid examples?

Old forum URL: forums.lhotka.net/forums/t/1194.aspx


PaulS posted on Tuesday, September 12, 2006

Newbie alert! I asked this before in the old forum I think. Are there any fully functional datagrid or datagridview examples out there? I feel that the few examples I've found so far are too simplistic to work in my application. I need full editing features, with save back to the physical database. I'd like saves to occur after editing any field, with no 'commit changes' buttons or extra steps.

Brian Criswell replied on Tuesday, September 12, 2006

CSLA was designed to be a disconnected data source (i.e. not like MS Access), so you will rarely find an example of this.  One way you could go about this would be to listen to the events on an object and save the object if it is in a valid state and the user has permission to save.

ajj3085 replied on Tuesday, September 12, 2006

Well, I'm not entirely sure this is true.  I think you could use the EditableRootListCollection to provide in place editing, where each row is saved back as the commits happen.  I'm not 100% sure of that though.  Anyway, I think that class is new in 2.1 beta.

Copyright (c) Marimer LLC