My repositorycombobox is showing blank option on default. How do I make the option 1 of the combobox to be the default value.
I want to make this repositorycombobox to act like dropdown with no edit function. But if I make it non editable the dropdown wont work. So how do I do it?
...
const int index = 1;
object val = repositoryItemComboBox3.Items[index];
gridView2.SetRowCellValue(gridView2.FocusedRowHandle,
object w= gridView2.GetRowCellValue(gridView2.FocusedRowHandle, "gridColumn3",val);
but w does not gets updated what do I have to do more?
...
The DevExpress Grid (XtraGrid) allows grids and their groups to have summary calculations. The available options are Count, Max, Min, Avg, Sum, None and Custom.
Has anyone got some sample code that shows how to calculate a weighted average column, based upon the weightings provided as values in another column?
...
Hi all
How can add a 2-column combobox to Xtragrid which has one col is stored to database and the other is used to display in the xtragrid.
Thank so much
...
I need a mechanism that is not sending a filterquery for every keystroke the user types in the AutoFilterRow because this is to slow. can I catch some events after a user types a keystroke in a column of the AutoFilterRow ?
I mean, when user ends editing the filter value, and presses enter, that should be the time i want to handle the g...
I have an XtraGrid with the datasource set to a BindingList. Some of the fields in the grid are editable. The problem is that the list gets a lot of updates for some other fields (not the ones I can edit), which causes the binding to refresh. If I was in a cell part way through editing a field, this is discarded and the editor closes.
I...
Let's clear the situation in here.
Let's have a devexpress's gridview control in a WIN form. Let's set the Appearance of the Even rows of the grid have the backcolor = color.whiteSmoke (say to help the users distiguish the rows easily). We do this in design time.
Now, let's do programmatically color in red some rows that match my condit...
Hi Folks,
I'm using XtraGrid of DevExpress 2.9.5 to display a blotter of dynamic set of lines. The blotter is integrated into another application, this is why it has to be based on UserControl class and also implement a couple of custom interfaces.
public partial class BlotterForm : UserControl, ISMMdiEmbeddable, ISMAssociatedMFCWindo...
I already have a dynamic XtraPivotGrid creation, but the table adapter and the dataset are 1(one) table specific. I want to be able to get data from a table specified by user, but I can't see a way of doing this without writing about 2.5k lines of code (writing the same code the IDE creates in design time, but for any table). Does anybod...
DevExpress GridControl control for WinForms supports BorderStyle property (through it's View), but it seems like it doesn't support BorderColor. Or am I wrong?
How can I set BorderColor property for GridControl borders?
...
I want to add Devexpress GridControl dynamically. At runtime I want to show the Filter Row. Also I want to have a button on the form, that have the dynamically created GridCotrol, and when the button is clicked it should show the Filter Dialog popup for the grid control.
Thanks in advance for the help.
...
How do i do paging in devexpress gridcontrol for c# windows application
Thanks in advance
...
I'm working with an existing object framework that uses special values to represent NULL for primitives int, DateTime, long. Data containing these values are added to a DataTable and displayed in third-party controls such as XtraGrid.
All is fine, except when aggregates are applied to the data. In this case, obviously the special value...
we have a custom datatype object "Money" which is used to represent money values in our application. at the moment we are trying to implement some custom formatting within a grid component however the exception "InvalidCastException" is raised from System.Convert.
the text from the exception is;
System.InvalidCastException occurred
M...
I am using DevExpress Xtragrid control in my C#.net windows application.
I enter some value into the first cell of the grid and if i go to second cell , the value entered in the first cell disappears.
How to retain the value entered in the cell ?
...
I'm working with the XtraGrid Suite made by DevExpress. I can't find any sort of functionality to do this, but I'm curious if you can add a button or hyperlink to a grid cell.
Context: I've got an Events list. Each Event has a Time, Start/End, and a Category (Utility and Maintenance). There can be Start events and Stop events. Having do...
I have a TextEdit in my DevExpress Xtragrid.
I want to set the Mask Type of TextEdit as Boolean
How can I do it ?
...
Scenario
I am using the latest version of DevExpress XtraGrid.
I am currently binding the DataView of a DataTable to the datasource of the gridcontrol in C#.
Since this DataTable gets updated every second, I have to refresh the gridcontrol.
ALSO
The DevExpress XtraGrid comes with the ability to automatically drag and drop the column h...
I bind my DevExpress XtraGrid to a SQL Server database. I use the default navigator to delete rows. I would like the database to reflect these deletions as well. How do I do this?
Erik
...
Even though im using CustomUnboundColumnData Event, im unable to store the value of Radio selection properly.
My Grid Has 3 Columns SelectColumn, Value1, Value2 where SelectColumn contains the RadioGroup.I would like to retain the value
of the selected Radio, because the selection disappears if i click a button or move to another tab.
...