I have a datagrid including columns: MedicineName, Contry, Quantity, .., Total.
When I want to type a word ( ex: "B" ) in cell of MedicineColumn then appearing a list conntaint: "B1","B2","B6" ( note that "B1 B2 B6 " exist in list) then it allow to choose a item from the list. The list is disappeared and also that all has value which chosen.
Send for me code to deal with the proplem.
mail: [email protected]
Thank you very much!!
Mahesh ChandPosted Feb 24, 2009, 10:18 AM
What you need is more like a Search/Find filter in your DataGrid that will filter rows based on your keyword.
Here are some articles on DataGrid customization. Check the link related to search feature in DataGrid.
In this article, I will discuss some DataGrid customization tips such as how to I get the name and index of the column headers and how do I find out if mouse click right click was on a column.
This article covers customized sorting and a DataGrid column hiding programmatically.
Here is an updated version of 'ReshuffleColumns' method of article DataGrid Customization by Mahesh Chand.
In this article, I will show you how to exchange two DataGrid columns by dragging and dropping.
How to I get the name and index of the Column headers? How do I find out if mouse click right click was on a column