In Silverlight 3 can every cell of the datagrid be editable concurrently?

In an SL3 datagrid, is it possible to have every cell of the grid editable?

I need to create a UI that's similar to an Excel worksheet. Upon a button click, the entire collection of objects would be submitted as opposed a single object or cell.

Is this even possible, and if so how would I go about achieving it?

Thanks.

Answers


I guess the reason why this question has sat here 4 hours with no answer is that we all asking ourselves "Have I missed the problem here?".

First of all you can't actually "edit every cell concurrently", after all when you hit a key on the keyboard only one control is going accept that is input, the one with the focus.

"Excel worksheet" behaviour is exactly what you get from DataGrid if you let it automatically generate the cells.

So this question is really about the object you assign to the ItemsSource property. You really need to tell us about what you are using to store the data.

The truth is your requirement is quite easy to deliver especially if you include WCF RIA services. Ulitmately you get a "Data Context" which you can edit in various ways and then submit changes at whatever point makes sense for your application.


Need Your Help

How to partially download a remote file with cURL?

php curl

Is it possible to partially download a remote file with cURL?

Receiving continuous data stream with sockets in C#

c# multithreading sockets

I'm trying to write a client application, which connects to a server on a specified port and receives data.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.