Is it possible to sort a WPF datagrid using more than one column ?
View Complete Post
I'm working on a library that stores information on various cases. The case table has several columns that contain descriptive strings on what happened in the case. I would like to create a single filter that returns all cases where the search string is found in any of the columns. I've looked at Dynamic Data Filtering, but as far as I can tell, the "Contains" filter only allows you to connect to each column individually. Has anyone tried this?
I have an autocomplete extender working great returning one column and I can also retrieve multiple columns just fine from my stored procedure, but here's what I really need to do:
1. Format the data in the autocomplete extender in the following format:
Location NumberAddressCity, State, Zip
2. When the user makes a selection I want only the Location Number to populate the textbox.
If anyone has done this I would really appreciate an example.
i read the data from the rows, at some row cells has multiple date's. im reading these date and stored into an Array, after that i tried to Sort at that time im getting the error as "Microsoft JScript runtime error: Number expected"
actually this is my sort method code
function compareAscName(a, b)
case 'DOB': var dateA = new Date(a.DOB); var dateB = new Date(b.DOB); return dateB - dateA; break;
this is the code im calling above code
dataInputArray.sort(compareAscName); when the system reach this code with multiple date in a array parameter then above method not called.
if a = "09/07/2010~10/01/2010" and b= "09/08/2010~10/02/2010" then this time only im getting error,
if a = "09/07/2010" and b= "09/08/2010" then this time its working fine. i knew some thing i have to do on
When i use DataGridComboBoxColumn in my WPF DataGrid, the DataGrid SelectionChanged event is triggering multiple times based on the number of rows while loading the rows in the WPF DataGrid.
How can i stop this? Because of this I am facing Performance issue.
I have a datagrid and his columns binds well to its collection data. But when I add a new data column (ie. DataGridTextColumn or DataGridComboBoxColumn) and Bind to the main Data Context of window the data are missing (dont show)
In this sample, The last two columns of DataGrid dont bind to the main data.