SilverlightShow: Introduction to the DataGrid control in Silverlight Comments http://www.silverlightshow.net/ Silverlight articles, Silverlight tutorials, Silverlight videos, Silverlight samples SilverlightShow.net http://www.rssboard.org/rss-specification Argotic Syndication Framework 2008.0.2.0, http://www.codeplex.com/Argotic en-US estoychev@completit.com (Emil Stoychev) Re: Introduction to the DataGrid control in Silverlight <p>Got it..it is in System.Windows.Data library</p> <p>Thanks...</p> http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx#comment6610 madhurt http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx Wed, 05 Oct 2011 07:00:52 GMT Re: Introduction to the DataGrid control in Silverlight <p>Nice post..When I'm trying to manually add columns, then getting error on following line</p> <p> textColumn1.Binding = new  Binding("Group");</p> <p>Not getting definition for Binding. In which library it is defined?</p> <p>I'm using VS2010.</p> http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx#comment6609 madhurt http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx Wed, 05 Oct 2011 06:54:08 GMT RE: Introduction to the DataGrid control in Silverlight 2 Thanks............ http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx#comment5186 bpS Rajput http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx Thu, 30 Dec 2010 07:44:58 GMT Read From XML into Chat Controle Using LINQ How to retrieve the Data from xml into chart controls using LINQ in Silver light Applications. http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx#comment3628 suri http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx Tue, 18 May 2010 14:51:46 GMT RE: Introduction to the DataGrid control in Silverlight 2 <p>To remove the empty column in the Right side , stretch all the columns</p> <p>ColumnWidth="*" </p> http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx#comment3340 Soonam http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx Thu, 01 Apr 2010 13:38:22 GMT RE: Introduction to the DataGrid control in Silverlight 2 its amazing ... simply superb... i dont have words to speak .... thank you so much http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx#comment3191 ram http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx Mon, 08 Mar 2010 14:27:17 GMT RE: Introduction to the DataGrid control in Silverlight 2 <p>hi,</p> <p>    I am not getting commitcelledit Event in Data:DataGrid.</p> <p>Thank You.</p> http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx#comment2738 Roshni http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx Sat, 05 Dec 2009 08:15:34 GMT RE: Introduction to the DataGrid control in Silverlight 2 Hi, <p> I see an empty column on the right side, in your example after quantity there is an empty column. why does this empty column appear and can you please tell me how to remove it.</p> <p> Thanks</p> http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx#comment1555 Krishna http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx Wed, 13 May 2009 01:40:45 GMT RE: Introduction to the DataGrid control in Silverlight 2 Excelent! http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx#comment1509 dbs http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx Thu, 23 Apr 2009 21:23:08 GMT RE: Introduction to the DataGrid control in Silverlight 2 Great article and a great control. I've tried the one from infragistics, but they upgraded to silverlight 3.0 so that one is out the window for me. I am keeping an eye out for the next articles about this one. http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx#comment1351 W.Meints http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx Mon, 30 Mar 2009 07:14:50 GMT RE: Introduction to the DataGrid control in Silverlight 2 Hi,<br /> <br /> very nice.. but all the data are displayed twice in the grid..<br /> <br /> anyone pls help me out.. http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx#comment1190 Keerthi http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx Tue, 17 Mar 2009 05:07:39 GMT RE: Introduction to the DataGrid control in Silverlight 2 <p>Frozen Columns in Silverlight DataGrid..<br /> http://dotnetdreamer.wordpress.com/2009/01/31/silverlight-2-datagrid-frozen-columns/ </p> http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx#comment989 Ramprasad http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx Sat, 31 Jan 2009 08:06:30 GMT RE: Introduction to the DataGrid control in Silverlight 2 <p>hi...</p> <p>can anyone explain in detail where write these codes...ie in nutriton.cs,page,xaml.cs</p> <p>plllzz...explain in detail....</p> <p> </p> http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx#comment975 rose http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx Wed, 28 Jan 2009 00:31:51 GMT RE: Introduction to the DataGrid control in Silverlight 2 <p>Hi, kapil</p> <p>There is no default support for ColumnGrouping in the DataGrid. Although there are some custom DataGrids for Silverlight that provide such functionality - the <a href="http://www.devexpress.com/Products/NET/Controls/Silverlight/Grid/">agDataGrid </a>by DevExpress for example. It's free and comes with source code, so you can take a look at it and see how this is accomplished.</p> <p>I think it can be done by manipulating the ColumnHeader template. When I find some spare time I'll give it a try.</p> <p>This <a href="http://silverlight.net/forums/t/50182.aspx">topic</a> in the silverlight.net forum could also be helpful to you.</p> http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx#comment858 Enrai http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx Sat, 20 Dec 2008 06:09:55 GMT RE: Introduction to the DataGrid control in Silverlight 2 <p>do we have any support for Column Grouping in the datagrid?</p> http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx#comment843 kapil http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx Wed, 17 Dec 2008 03:39:25 GMT RE: Introduction to the DataGrid control in Silverlight 2 <p>Hi, Dan</p> <p>That isn't an empty column, these are the row headers. In the Silverlight sample I have hidden them, but when I took the screenshot they were visible. Sorry if that has confused you. :)</p> http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx#comment681 Enrai http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx Thu, 13 Nov 2008 23:42:09 GMT RE: Introduction to the DataGrid control in Silverlight 2 <p>How did you get the empty column to the left of the "Group" column with the arrow when the row is selected in your example in the "Adding some data" section?</p> http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx#comment675 Dan http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx Thu, 13 Nov 2008 14:59:59 GMT RE: Introduction to the DataGrid control in Silverlight 2 <p>To use the <em><strong>XDocument </strong></em>and the<em><strong> LINQ to XML</strong></em> syntax you have to add a reference to the <em><strong>System.Xml.Linq.dll </strong></em>and use the<em><strong> System.Linq </strong></em>namespace. That's all. You can read more about that here - <a href="http://www.silverlightshow.net/items/Using-LINQ-to-XML-in-Silverlight-2.aspx">Using LINQ to XML in Silverlight</a>.</p> http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx#comment653 Enrai http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx Tue, 11 Nov 2008 02:36:08 GMT RE: Introduction to the DataGrid control in Silverlight 2 <p>I am not getting XDocument class in silverlight 2.Please help</p> http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx#comment643 Jitendra Kumar http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx Mon, 10 Nov 2008 01:03:06 GMT RE: Introduction to the DataGrid control in Silverlight 2 <p>The editing of the contents of the DataGrid will surely be a theme for one of the next articles. If you're using Text columns in your DataGrid by double-clicking on a cell you go in edit mode. If you're using a Template column you must define a CellEditingTemplate as well and again with double-click you go in edit mode. After you've done editing just press enter or change the selection and your changes will be submitted. You can also create an event handler for the ComittingEdit event of the DataGrid and use the event arguments for additional actions. There a few more events that concern the editing but I'll explain them in the upcomming articles. Hope that will do the work for you.</p> http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx#comment391 Enrai http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx Mon, 15 Sep 2008 07:48:50 GMT RE: Introduction to the DataGrid control in Silverlight 2 <p>Great .. nice job .. very easy to understand</p> <p> </p> <p>how do you change, with code behind, one of the elements in the datagrid .. ie the quantity for Calcium</p> http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx#comment390 Frank http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx Sat, 13 Sep 2008 13:28:33 GMT