Hello,
I'm facing a problem and can't get any further. I hope you can help me.
Short explanation:
I have a DataGrid (VirtualizingPanel.IsVirtualizing="true") and a search bar. When I type something into the search bar, the list is filtered accordingly and the search text is highlighted using...
Im trying to join multiple datatables to a single datatable.
var response = await client.ExecuteStaticQueryAsync(new ExecuteStaticQueryRequest() {
queryName = "CustTableListPage"
});
var dataset = response.ExecuteStaticQueryResult.ToDataSet();
This gives me a dataset with 13 tables defined...
I have a Datagrid bound to Datatable through Dependency property. I am unable to retrieve changes I make in datagrid even when I have set binding mode as two way.
What are the best possible ways to update changes back to Source DataTable when dataGrid is edited?
I know I can use...
I am using a Datagrid in MVVM, and I want to remove the "double click" behavior of the Standard DataGrid, which contains one Checkbox-Column (inside a DataTemplateColumn) and another two regular columns, as follows:
Unfortunately, the CheckBox column works fine (single click), but clicking...
This is a WPF application, using a Data Grid with Date Picker.
The goal is to click on the calendar, select a date, then the Data Grid goes in edit mode so as soon as I click on another cell, the Update is done on the database and the row is added on the grid, that part is working.
But, when I...
Hi All,
I have this code below which works well. I'm trying to modify the code so it only bolds the value, and not change the font to "Arial" or the size.
if (cellVal > 0 && e.ColumnIndex > 15 && e.ColumnIndex < 27)
{ row.Cells[e.ColumnIndex].Style.BackColor =...
Hi All,
I'm trying to work out the best way to change a columns/cell to local currency on a dynamic data grid populated from MySQL
The current data grid is populated dynamically from a MySQL query, where the headings and data can change.
I would like the code, to check if the Heading of a...
Hello everyone
I have a DataGrid in my WPF application. The cells must be edited.
To save the cell value I have to press "Enter" or jump in another cell. Is there a way to save the value at the "CurrentCellChanged" event? Or can you define it directly in XAML?
Thanks in advance.
Hi,
I have a List<string> called DataOutput, which I obtained from converting a char array. (I know that it works as i have been able to write it to the output window.) I am trying to display it in a DataGrid either by binding in xaml or through the xaml.cs file.
1. how do i go about this?
2...
Hello there!
I am programming something with views, view models, and models, and i need to display a DataGrid. I want to put the names of the colums in a xaml file, so the user can choose a langage package.
I need to declare these colums in my ViewModel file. This work fine when I put the name...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.