Questions tagged [devexpress-gridcontrol]

Used for questions relating to the DevExpress WPF GridControl component.

DevExpress WPF GridControl is a powerful and flexible component used to visualize data in a table-style manner. It has lots of settings and can be thoroughly customized for various purposes.

85 questions
0
votes
1 answer

Blazor WebAssembly Dev Express Data Grid - Load All Rows without Pagination

I started experimenting with devexpress Blazor Grid component for a project that we are migrating from Webforms to Blazor WebAssembly. I see the pagination component in the grid works really fine. But I have this requirement to load all records…
0
votes
1 answer

Getting this error when I try to update my databse from a DevExpress GridView in VB Net

The error states: Error in [dbo].[PrescriptionPamflet_modified] trigger. An error was raised during trigger execution. The batch has been aborted and the user transaction, if any, has been rolled back. I have the following DevExpress grid: When I…
0
votes
1 answer

How to show or hide and element when using Devexpress Cardview based on table column value

I am using Devexpress's CardView and I am doing my binding to the database like this: var cardView = Html.DevExpress().CardView(settings => { settings.Name = "MyCardView"; } @cardView.BindToEF(string.Empty, string.Empty, (s,…
Stackedup
  • 680
  • 2
  • 9
  • 26
0
votes
2 answers

How to enable DevExpress Grid Conditional Formatting?

I have a .net, C# Windows Form project. I'm using DevExpress 19.1. On my GridControl, I have conditional formatting for when a column is less than 0. I want the cell to be highlighted red when the value is less than 0, but it's not working. I've…
boilers222
  • 1,901
  • 7
  • 33
  • 71
0
votes
1 answer

adding multiple text files to gridview (devexpress) in vb.net

I have a folder with multiple text files in it, each text files has about 14 lines of text. I would like to add all text files in that folder to a gridcontrol/gridview in vb.net. My current code only adds 1 text file instead of adding all. any help…
Omid Al
  • 17
  • 4
0
votes
1 answer

DevExpress routing appears to break with dotnet core 3.1

I have the following DxDatagrid block in my dotnet core webapp index.cshtml page: @(Html.DevExtreme().DataGrid() .ID("grid-container") .ShowBorders(true) .DataSource(d =>…
Matt W
  • 11,753
  • 25
  • 118
  • 215
0
votes
1 answer

WPF Devexpress 18.2 Grid /Tableview Paste pastes only 242 columns

I am using a WPF Devexpress GridControl with dynamic columns generated. UI Rendered all columns one column per month from years(let say 2020 to 2070). So I am trying copy values for a row from excel which has values from 2020 to 2061 which is…
WPFKK
  • 1,419
  • 3
  • 20
  • 42
0
votes
1 answer

object reference not set for DataView from gridivew.DataSource as DataView

I have method validatingeditor to validate for duplicate private void GridView1_ValidatingEditor(object sender, DevExpress.XtraEditors.Controls.BaseContainerValidateEditorEventArgs e) { GridView view = sender as GridView; …
0
votes
2 answers

How to read GridControl cell value by its row and column index

I am working with GridControl of DevExpress to show the data in different kinds of views. Previously when I was using DataGridView I can access the cell value by DataGridViewObject.Rows[RowIndex].Cells[ColumnIndex/ColumnName].Value Now I want to…
Shubhit304
  • 181
  • 1
  • 15
0
votes
0 answers

Devexpress: How to access control in datatemplate

I have a detail grid in master gird. However, the inner grid was put into datatemplate, thus I cannot access it in code behind. I want to set Innergrid column width in code, and hide the first column of InnerGrid. I will add drag drop function from…
0
votes
1 answer

Why popup form is showing behind another popup form when i clicked 3 times in asp.net webforms?

Below is the code to display my popup form, but when i clicked 3 times this pop-up show in behind another pop up protected void grid_RowCommand2(object sender, ASPxGridViewRowCommandEventArgs e) { if…
0
votes
1 answer

Displaying List in a grid column

Is there a way that one can use a control in a gridview that displays a simple List in a dropdown just like SearchLookUp or even a simple Dropdown? The tricky part is that this List is not predefined, it can change for each row in…
0
votes
1 answer

GetDataRow returns null for valid rowHandle

I am trying to get the selected rows from a grid, when the user selects an option from a popup menu. I have the following code private void gridView1_PopupMenuShowing(object sender, DevExpress.XtraGrid.Views.Grid.PopupMenuShowingEventArgs…
Kirsten
  • 15,730
  • 41
  • 179
  • 318
0
votes
1 answer

Reset or disable default data sorting

I have data prepared and sorted in order that I need to display on the grid. I am passing this data to my BindingSource.DataSource. When I am checking what's inside it, then I can see all data in proper order. But they are displayed on the grid…
futerk0
  • 1
  • 4
0
votes
0 answers

Keeping multiple devexpress grid's column size in sync

I have a page in my wpf app where I have multiple devexpress grids rendered (Grid1, Grid2, Grid3 etc) via an items control and would like to make sure that their columns (Column1, Column2, Column3) are rendered the same width initially. For example:…
gyurisc
  • 11,234
  • 16
  • 68
  • 102