datagrid

  1. AnnaBauer21

    DataGrid Virtualization – Strange error after scrolling

    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...
  2. Zzazaya

    DataTable collection to single table

    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...
  3. destro

    Resolved How can I notify source property about the changes made in Wpf DataGrid?

    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...
  4. K

    DataGrid not updating property when using "single click" CheckBox column

    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...
  5. R

    Issue with DatePicker needed to be used twice with DataGrid.BeginEdit

    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...
  6. dv2020

    Bold Cell based on value in data grid

    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 =...
  7. dv2020

    Resolved How to change currency,format of a column/cell in dynamically changing data grid

    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...
  8. L

    Resolved How to save cell value of a DataGrid directly when editing?

    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.
  9. N

    List<string> to Datagrid

    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...
  10. N

    Question Use Dynamic Resource from the class

    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...
Back
Top Bottom