About 85,800 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 …

  2. Use MudBlazor MudDataGrid ServerData to load paged data from …

    Aug 30, 2023 · Programmatically Set Filters We can interact with the dataGrid after it exists, and at which point we can refer to columns from the RenderedColumns collection. So, since we …

  3. How to center the content of cells in a data grid? - Stack Overflow

    This is rather an old post, but if someone still needs this and finds that the borders/separations of cells are gone when using the approved answer, it's because they are using a Grid instead of …

  4. How can I set the width of a DataGridColumn to fit contents …

    I have a WPF DataGrid that contains some data. I would like to set the width of the columns such that the content fits in and never gets cropped (instead, a horizontal scroll bar should become …

  5. reactjs - The Data Grid component requires all rows to have a …

    Mar 28, 2022 · I know I have to use getRowId, but how do I use statId in oppose to id? It is unique. Or generate an id property for each one of them? Error: MUI: The data grid component …

  6. c# - Single click edit in WPF DataGrid - Stack Overflow

    I want the user to be able to put the cell into editing mode and highlight the row the cell is contained in with a single click. By default, this is double click. How do I override or implement t...

  7. DataGrid in .NET MAUI - Stack Overflow

    Nov 24, 2022 · The DataGrid control hasn't been available or approachable in .NET MAUI. However, you can follow up this feature request: [Enhancement] DataGrid Control on Github.

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

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

  10. How to customize DataGrid in WinUI3 via C# - Stack Overflow

    Feb 26, 2024 · I have a DataGrid table (from CommunityToolkit.Controls), created by C# code (creating via XAML doesn't work for me). DataGrid table = new DataGrid(); table.ColumnWidth …