How to insert update delete in WrapDataGrid

May 15, 2009 at 3:20 PM

Insert Update Delete in WRAP datagrid

May 22, 2009 at 12:15 PM

Hi Umesh007,

The grid is meant to be a read only grid. Its purpose is not, for example, drug administration. That said....If you want to update its contents you can change its datacontext and call reload, or add rows and call reload, and this will cause the new data to be displayed. If you are using binding in your templates, and those bindings are 2 way, and the properties you bind against are dependencyproperties, then the changes should be shown in the underlying object for changes to the UI, or to the UI if you update the data, but you should look at the guidance and be confident that you are not breaking the guidance by having changing data in a Medications List dynamically, or if you are amending in place, because the guidance for Medications List is read only.