gridcontrol

Is It Possible to Add Multiple Repository Items in a Gridview Cells using DEVEXPRESS?

为君一笑 提交于 2019-12-11 16:33:28
问题 I have Datatable and I have to add Two repository items to same cell DataTable dtbl = null; public Form1() { InitializeComponent(); dtbl = new DataTable(); dtbl.Columns.Add("T1"); dtbl.Columns.Add("T2"); dtbl.Columns.Add("T3"); dtbl.Rows.Add("Test1", "Test2", "Test3"); dtbl.Rows.Add("Test4", "Test5", "Test6"); dtbl.Rows.Add("Test7", "Test8", "Test9"); gridControl1.DataSource = dtbl.DefaultView; gridView1.CustomRowCellEdit += new DevExpress.XtraGrid.Views.Grid.CustomRowCellEditEventHandler

Databinding within Cell templated Devexpress:GridControl not working

依然范特西╮ 提交于 2019-12-11 16:01:38
问题 I try to bind a List property SubscribedSymbols within a class object StrategySubscription as part of List to comboboxes in each cells of a specific column in a Devexpress GridControl but cannot get the data binding to work. The auto column generator works and populates values onto the grid. So, I am sure the data exists. I attached the xaml code and data object as well as a screenshot of the current output. Can you please help to get the data binding to work correctly? I want the collection

Devexpress - How do I base a Gridcontrol's data on the sorted/filtered data from another GridControl?

对着背影说爱祢 提交于 2019-12-11 12:10:59
问题 I have two GridControls on my form. One is a fairly large dataset, including a column named Score. I want my other GridControl to show a subset of this (e.g. Top 3 and Bottom 3 based on the values of Score). How can I best accomplish this? If it were the same GridControl I imagine I could just use a different view, but since it's completely separate, should I just grab a copy of the view, filter/sort the data and display it as a new dataset? Or is there a way to link my second GridControl's

How to get the selected row values of DevExpress GridControl in WPF?

我是研究僧i 提交于 2019-12-11 10:43:23
问题 I asked this question in Oct, 2012 when I was working on windows application. now when I turn to WPF application, I get the same problem again i.e How to get the selected row values of DevExpress GridControl in WPF ? I've failed to find my answer on google and none of the answers in the above mentioned link is working. there is nothing like CellClick, RowClick or RowCellClick event in devexpress gridcontrol of wpf as it is in winform gridcontrol. I'll be glad if someone can solve out this

How to Select row using checkedit gridcontrol devexpress? [closed]

混江龙づ霸主 提交于 2019-12-07 17:01:09
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 4 years ago . i have a winfrom using C# in my coding , and i use gridcontrol devexpress 2010 to show data contact list. here is my form after select those list i get the value from gridcontrol that i select and press button OK to get it. I don't know the code. anyone can suggest me,....thanks

Change devexpress grid control column header caption

此生再无相见时 提交于 2019-12-06 08:19:10
问题 Hai all, How to change devexpress gridconrol column header caption using c#. please help 回答1: This can be done using the following code in the Page_Load event: ASPxGridView1.Columns[0].Caption = "Some Value"; 来源: https://stackoverflow.com/questions/3751516/change-devexpress-grid-control-column-header-caption

How to Select row using checkedit gridcontrol devexpress? [closed]

☆樱花仙子☆ 提交于 2019-12-05 21:12:58
Closed . This question needs to be more focused . It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post . Closed 4 years ago . i have a winfrom using C# in my coding , and i use gridcontrol devexpress 2010 to show data contact list. here is my form after select those list i get the value from gridcontrol that i select and press button OK to get it. I don't know the code. anyone can suggest me,....thanks Niranjan Singh First of all i suggest you to the KB article: How to select rows via an unbound

DevExpress GridControl Unbound Columns

拥有回忆 提交于 2019-12-02 11:35:58
I would like to know how to properly add a unbound column into a gridview. I've added a unbound column in the designer (set the unbound type, display format and all) but whenever I run the application, try to change the value of the unbound column and loses its focus the value is not saved (even the display format is not displaying correctly when I'm changing it). I must be doing something wrong. I need help guys! Much appreciated! Unbound column does not provide a storage to save its values. Instead, the GridView publishes the CustomUnboundColumnData event which can be used to provide data to