About 62 results
Open links in new tab
  1. The Difference Between a DataGrid and a GridView in ASP.NET?

    Like the DataGrid control, the GridView control was designed to display data in an HTML table. When bound to a data source, the DataGrid and GridView controls each display a row from a DataSource …

  2. select - WPF Datagrid set selected row - Stack Overflow

    Dec 30, 2009 · How do I use the Datagrid.SelectedItem to select a row programmatically? Do I first have to create a IEnumerable of DataGridRow objects and pass the matching row to this SelectedItem …

  3. How to use MUI DataGrid to select multiple selected rows correctly

    May 23, 2025 · I have a MUI DataGrid (Version: 8.6.1) to display a list of projects. Each project has its own ID. I want to let the user select multiple projects, then let him hit a button so that a delete …

  4. Change DataGrid cell colour based on values - Stack Overflow

    Apr 5, 2011 · 177 If you try to set the DataGrid.CellStyle the DataContext will be the row, so if you want to change the colour based on one cell it might be easiest to do so in specific columns, especially …

  5. How do I make XAML DataGridColumns fill the entire DataGrid?

    I am using DataGrids in XAML (not Silverlight) with resizable columns, the DataGrid will expand if the user resizes the screen. Currently if the widths of all the DataGrid columns are less than the

  6. How can I paginate a WPF DataGrid? - Stack Overflow

    Apr 24, 2009 · How can I set paging in a wpf DataGrid? The code project article above is quite good for getting this done with ADO tables. While for most applications, it is likely to work great, and is easy to …

  7. How can I set the color of a selected row in DataGrid

    In my case, the reason was that I also had a CellStyle in my datagrid, and the CellStyle overrode the RowStyle I was setting. Interestingly so, because the CellStyle wasn't even setting the background …

  8. c# - Disable selecting in WPF DataGrid - Stack Overflow

    Mar 23, 2010 · Learn how to disable selection in WPF DataGrid using C# with practical solutions and examples discussed by the community.

  9. c# - Datagrid binding in WPF - Stack Overflow

    The DataGrid is derived from ItemsControl, which relies on its ItemsSource property to define the collection it binds its rows to. Hence, if list isn't a property of an object bound to your control's …

  10. DataGrid and CheckBoxs - Radzen.Blazor Components - Radzen

    Feb 19, 2024 · Hi, I made datagrid where first 4 columns are strings next 4 are bool. on last 4 bool DataGrid shows CheckBox, automatically I added options disenable. Now, I'm trying to make a code …