tag:blogger.com,1999:blog-4045671445828312434.post4000199469745964891..comments2024-03-25T15:11:30.341+05:30Comments on Born to Automate : Working with WPF DataGrid - Part 6Prajeesh Prathaphttp://www.blogger.com/profile/10973885615112785714noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-4045671445828312434.post-26553154520614926572010-11-14T08:42:00.381+05:302010-11-14T08:42:00.381+05:30Hello.
Because I am new to WPF I hope I'll fin...Hello.<br />Because I am new to WPF I hope I'll find help in Your posts.<br />The problem is with filtering datagrid bound to database through CollectionViewSource. I can't add filtering method to Filter Event because - as I found - it uses BindingListCollectionView wchich is not "filterable".<br />Is there any walkaround. Anu help will be appreciatedUnknownhttps://www.blogger.com/profile/15323336895854329517noreply@blogger.comtag:blogger.com,1999:blog-4045671445828312434.post-27988329075744276162010-11-14T08:41:18.666+05:302010-11-14T08:41:18.666+05:30Hello.
Because I am new to WPF I hope I'll fin...Hello.<br />Because I am new to WPF I hope I'll find help in Your posts.<br />The problem is with filtering datagrid bound to database through CollectionViewSource. I can't add filtering method to Filter Event because - as I found - it uses BindingListCollectionView wchich is not "filterable".<br />Is there any walkaround. Anu help will be appreciatedUnknownhttps://www.blogger.com/profile/15323336895854329517noreply@blogger.comtag:blogger.com,1999:blog-4045671445828312434.post-65063697645631765482010-02-23T13:01:55.190+05:302010-02-23T13:01:55.190+05:30In my project I want to add some data from databas...In my project I want to add some data from database to a datagrid ((WPF toolkit)- the datagrid is already bind with database and have some data) when click on a checkbox button in the other datagrid.<br /><br />How to write events to check box(in the datagrid)- when the check box is checked<br /><br />I tried, but it is not.....<br /><br />Pls suggest me the right way...Lukmanhttps://www.blogger.com/profile/02129798123371674792noreply@blogger.comtag:blogger.com,1999:blog-4045671445828312434.post-67687817986482649042009-04-03T21:02:00.000+05:302009-04-03T21:02:00.000+05:30Hi Adam,You can use the SelectionChanged event of ...Hi Adam,<BR/>You can use the SelectionChanged event of the datagrid to track the selected items in the code behind file.<BR/><BR/>For example.<BR/> <WPF:DataGrid Name="_employeeDataGrid" SelectionChanged="OnRowSelected" ><BR/><BR/>In the OnRowSelected event you can <BR/>do something like<BR/>((DataGrid)sender).SelectedCells[0].Column<BR/><BR/>or<BR/><BR/>((DataGrid)sender).SelectedItem<BR/><BR/>to get the details of the selected item.Prajeesh Prathaphttps://www.blogger.com/profile/10973885615112785714noreply@blogger.comtag:blogger.com,1999:blog-4045671445828312434.post-64021430915734378612009-04-03T01:55:00.000+05:302009-04-03T01:55:00.000+05:30Just a quick question as you seem to know alot abo...Just a quick question as you seem to know alot about the WPF Datagrid. Say i double click on a row in the grid how would i retrieve the value of the the cell say in colum "b". I have een trying for days and have gotten no where. Thanks for your help..Unknownhttps://www.blogger.com/profile/03017208906911385723noreply@blogger.com